public static interface JobMetadata.Builder extends SdkPojo, CopyableBuilder<JobMetadata.Builder,JobMetadata>
Modifier and Type | Method and Description |
---|---|
JobMetadata.Builder |
addressId(String addressId)
The ID for the address that you want the Snowball shipped to.
|
JobMetadata.Builder |
clusterId(String clusterId)
The 39-character ID for the cluster, for example
CID123e4567-e89b-12d3-a456-426655440000 . |
JobMetadata.Builder |
creationDate(Instant creationDate)
The creation date for this job.
|
default JobMetadata.Builder |
dataTransferProgress(Consumer<DataTransfer.Builder> dataTransferProgress)
A value that defines the real-time status of a Snowball's data transfer while the device is at AWS.
|
JobMetadata.Builder |
dataTransferProgress(DataTransfer dataTransferProgress)
A value that defines the real-time status of a Snowball's data transfer while the device is at AWS.
|
JobMetadata.Builder |
description(String description)
The description of the job, provided at job creation.
|
JobMetadata.Builder |
forwardingAddressId(String forwardingAddressId)
The ID of the address that you want a job shipped to, after it will be shipped to its primary address.
|
JobMetadata.Builder |
jobId(String jobId)
The automatically generated ID for a job, for example
JID123e4567-e89b-12d3-a456-426655440000 . |
default JobMetadata.Builder |
jobLogInfo(Consumer<JobLogs.Builder> jobLogInfo)
Links to Amazon S3 presigned URLs for the job report and logs.
|
JobMetadata.Builder |
jobLogInfo(JobLogs jobLogInfo)
Links to Amazon S3 presigned URLs for the job report and logs.
|
JobMetadata.Builder |
jobState(JobState jobState)
The current status of the jobs.
|
JobMetadata.Builder |
jobState(String jobState)
The current status of the jobs.
|
JobMetadata.Builder |
jobType(JobType jobType)
The type of job.
|
JobMetadata.Builder |
jobType(String jobType)
The type of job.
|
JobMetadata.Builder |
kmsKeyARN(String kmsKeyARN)
The Amazon Resource Name (ARN) for the AWS Key Management Service (AWS KMS) key associated with this job.
|
default JobMetadata.Builder |
notification(Consumer<Notification.Builder> notification)
The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job.
|
JobMetadata.Builder |
notification(Notification notification)
The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job.
|
default JobMetadata.Builder |
resources(Consumer<JobResource.Builder> resources)
An array of
S3Resource objects. |
JobMetadata.Builder |
resources(JobResource resources)
An array of
S3Resource objects. |
JobMetadata.Builder |
roleARN(String roleARN)
The role ARN associated with this job.
|
default JobMetadata.Builder |
shippingDetails(Consumer<ShippingDetails.Builder> shippingDetails)
A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
|
JobMetadata.Builder |
shippingDetails(ShippingDetails shippingDetails)
A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
|
JobMetadata.Builder |
snowballCapacityPreference(SnowballCapacity snowballCapacityPreference)
The Snowball capacity preference for this job, specified at job creation.
|
JobMetadata.Builder |
snowballCapacityPreference(String snowballCapacityPreference)
The Snowball capacity preference for this job, specified at job creation.
|
JobMetadata.Builder |
snowballType(SnowballType snowballType)
The type of device used with this job.
|
JobMetadata.Builder |
snowballType(String snowballType)
The type of device used with this job.
|
copy
applyMutation, build
JobMetadata.Builder jobId(String jobId)
The automatically generated ID for a job, for example JID123e4567-e89b-12d3-a456-426655440000
.
jobId
- The automatically generated ID for a job, for example
JID123e4567-e89b-12d3-a456-426655440000
.JobMetadata.Builder jobState(String jobState)
The current status of the jobs.
JobMetadata.Builder jobState(JobState jobState)
The current status of the jobs.
JobMetadata.Builder jobType(String jobType)
The type of job.
JobMetadata.Builder jobType(JobType jobType)
The type of job.
JobMetadata.Builder snowballType(String snowballType)
The type of device used with this job.
snowballType
- The type of device used with this job.SnowballType
,
SnowballType
JobMetadata.Builder snowballType(SnowballType snowballType)
The type of device used with this job.
snowballType
- The type of device used with this job.SnowballType
,
SnowballType
JobMetadata.Builder creationDate(Instant creationDate)
The creation date for this job.
creationDate
- The creation date for this job.JobMetadata.Builder resources(JobResource resources)
An array of S3Resource
objects. Each S3Resource
object represents an Amazon S3
bucket that your transferred data will be exported from or imported into.
resources
- An array of S3Resource
objects. Each S3Resource
object represents an Amazon
S3 bucket that your transferred data will be exported from or imported into.default JobMetadata.Builder resources(Consumer<JobResource.Builder> resources)
An array of S3Resource
objects. Each S3Resource
object represents an Amazon S3
bucket that your transferred data will be exported from or imported into.
JobResource.Builder
avoiding the need to create
one manually via JobResource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to resources(JobResource)
.resources
- a consumer that will call methods on JobResource.Builder
resources(JobResource)
JobMetadata.Builder description(String description)
The description of the job, provided at job creation.
description
- The description of the job, provided at job creation.JobMetadata.Builder kmsKeyARN(String kmsKeyARN)
The Amazon Resource Name (ARN) for the AWS Key Management Service (AWS KMS) key associated with this job. This ARN was created using the CreateKey API action in AWS KMS.
kmsKeyARN
- The Amazon Resource Name (ARN) for the AWS Key Management Service (AWS KMS) key associated with this
job. This ARN was created using the CreateKey API action
in AWS KMS.JobMetadata.Builder roleARN(String roleARN)
The role ARN associated with this job. This ARN was created using the CreateRole API action in AWS Identity and Access Management (IAM).
roleARN
- The role ARN associated with this job. This ARN was created using the CreateRole API
action in AWS Identity and Access Management (IAM).JobMetadata.Builder addressId(String addressId)
The ID for the address that you want the Snowball shipped to.
addressId
- The ID for the address that you want the Snowball shipped to.JobMetadata.Builder shippingDetails(ShippingDetails shippingDetails)
A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
shippingDetails
- A job's shipping information, including inbound and outbound tracking numbers and shipping speed
options.default JobMetadata.Builder shippingDetails(Consumer<ShippingDetails.Builder> shippingDetails)
A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
This is a convenience that creates an instance of theShippingDetails.Builder
avoiding the need to
create one manually via ShippingDetails.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to shippingDetails(ShippingDetails)
.shippingDetails
- a consumer that will call methods on ShippingDetails.Builder
shippingDetails(ShippingDetails)
JobMetadata.Builder snowballCapacityPreference(String snowballCapacityPreference)
The Snowball capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.
snowballCapacityPreference
- The Snowball capacity preference for this job, specified at job creation. In US regions, you can
choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.SnowballCapacity
,
SnowballCapacity
JobMetadata.Builder snowballCapacityPreference(SnowballCapacity snowballCapacityPreference)
The Snowball capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.
snowballCapacityPreference
- The Snowball capacity preference for this job, specified at job creation. In US regions, you can
choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.SnowballCapacity
,
SnowballCapacity
JobMetadata.Builder notification(Notification notification)
The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The
Notification
object is returned as a part of the response syntax of the DescribeJob
action in the JobMetadata
data type.
notification
- The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific
job. The Notification
object is returned as a part of the response syntax of the
DescribeJob
action in the JobMetadata
data type.default JobMetadata.Builder notification(Consumer<Notification.Builder> notification)
The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The
Notification
object is returned as a part of the response syntax of the DescribeJob
action in the JobMetadata
data type.
Notification.Builder
avoiding the need to
create one manually via Notification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to notification(Notification)
.notification
- a consumer that will call methods on Notification.Builder
notification(Notification)
JobMetadata.Builder dataTransferProgress(DataTransfer dataTransferProgress)
A value that defines the real-time status of a Snowball's data transfer while the device is at AWS. This data
is only available while a job has a JobState
value of InProgress
, for both import
and export jobs.
dataTransferProgress
- A value that defines the real-time status of a Snowball's data transfer while the device is at AWS.
This data is only available while a job has a JobState
value of InProgress
,
for both import and export jobs.default JobMetadata.Builder dataTransferProgress(Consumer<DataTransfer.Builder> dataTransferProgress)
A value that defines the real-time status of a Snowball's data transfer while the device is at AWS. This data
is only available while a job has a JobState
value of InProgress
, for both import
and export jobs.
DataTransfer.Builder
avoiding the need to
create one manually via DataTransfer.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to dataTransferProgress(DataTransfer)
.dataTransferProgress
- a consumer that will call methods on DataTransfer.Builder
dataTransferProgress(DataTransfer)
JobMetadata.Builder jobLogInfo(JobLogs jobLogInfo)
Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snowball for your job part is being delivered to you.
jobLogInfo
- Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report
becomes available at the end of the import process. For export jobs, your job report typically becomes
available while the Snowball for your job part is being delivered to you.default JobMetadata.Builder jobLogInfo(Consumer<JobLogs.Builder> jobLogInfo)
Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snowball for your job part is being delivered to you.
This is a convenience that creates an instance of theJobLogs.Builder
avoiding the need to create one
manually via JobLogs.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to jobLogInfo(JobLogs)
.jobLogInfo
- a consumer that will call methods on JobLogs.Builder
jobLogInfo(JobLogs)
JobMetadata.Builder clusterId(String clusterId)
The 39-character ID for the cluster, for example CID123e4567-e89b-12d3-a456-426655440000
.
clusterId
- The 39-character ID for the cluster, for example CID123e4567-e89b-12d3-a456-426655440000
.JobMetadata.Builder forwardingAddressId(String forwardingAddressId)
The ID of the address that you want a job shipped to, after it will be shipped to its primary address. This field is not supported in most regions.
forwardingAddressId
- The ID of the address that you want a job shipped to, after it will be shipped to its primary address.
This field is not supported in most regions.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.