Interface JobMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JobMetadata.Builder,
,JobMetadata> SdkBuilder<JobMetadata.Builder,
,JobMetadata> SdkPojo
- Enclosing class:
JobMetadata
-
Method Summary
Modifier and TypeMethodDescriptionThe ID for the address that you want the Snow device shipped to.The 39-character ID for the cluster, for exampleCID123e4567-e89b-12d3-a456-426655440000
.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 Snow device's data transfer while the device is at Amazon Web Services.dataTransferProgress
(DataTransfer dataTransferProgress) A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon Web Services.description
(String description) The description of the job, provided at job creation.default JobMetadata.Builder
deviceConfiguration
(Consumer<DeviceConfiguration.Builder> deviceConfiguration) Sets the value of the DeviceConfiguration property for this object.deviceConfiguration
(DeviceConfiguration deviceConfiguration) Sets the value of the DeviceConfiguration property for this object.forwardingAddressId
(String forwardingAddressId) The ID of the address that you want a job shipped to, after it will be shipped to its primary address.impactLevel
(String impactLevel) The highest impact level of data that will be stored or processed on the device, provided at job creation.impactLevel
(ImpactLevel impactLevel) The highest impact level of data that will be stored or processed on the device, provided at job creation.The automatically generated ID for a job, for exampleJID123e4567-e89b-12d3-a456-426655440000
.default JobMetadata.Builder
jobLogInfo
(Consumer<JobLogs.Builder> jobLogInfo) Links to Amazon S3 presigned URLs for the job report and logs.jobLogInfo
(JobLogs jobLogInfo) Links to Amazon S3 presigned URLs for the job report and logs.The current status of the jobs.The current status of the jobs.The type of job.The type of job.The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job.longTermPricingId
(String longTermPricingId) The ID of the long-term pricing type for the device.default JobMetadata.Builder
notification
(Consumer<Notification.Builder> notification) The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job.notification
(Notification notification) The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job.default JobMetadata.Builder
onDeviceServiceConfiguration
(Consumer<OnDeviceServiceConfiguration.Builder> onDeviceServiceConfiguration) Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.onDeviceServiceConfiguration
(OnDeviceServiceConfiguration onDeviceServiceConfiguration) Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.default JobMetadata.Builder
pickupDetails
(Consumer<PickupDetails.Builder> pickupDetails) Information identifying the person picking up the device.pickupDetails
(PickupDetails pickupDetails) Information identifying the person picking up the device.remoteManagement
(String remoteManagement) Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network.remoteManagement
(RemoteManagement remoteManagement) Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network.default JobMetadata.Builder
resources
(Consumer<JobResource.Builder> resources) An array ofS3Resource
objects.resources
(JobResource resources) An array ofS3Resource
objects.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.shippingDetails
(ShippingDetails shippingDetails) A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.snowballCapacityPreference
(String snowballCapacityPreference) The Snow device capacity preference for this job, specified at job creation.snowballCapacityPreference
(SnowballCapacity snowballCapacityPreference) The Snow device capacity preference for this job, specified at job creation.snowballId
(String snowballId) Unique ID associated with a device.snowballType
(String snowballType) The type of device used with this job.snowballType
(SnowballType snowballType) The type of device used with this job.default JobMetadata.Builder
taxDocuments
(Consumer<TaxDocuments.Builder> taxDocuments) The metadata associated with the tax documents required in your Amazon Web Services Region.taxDocuments
(TaxDocuments taxDocuments) The metadata associated with the tax documents required in your Amazon Web Services Region.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
jobId
The automatically generated ID for a job, for example
JID123e4567-e89b-12d3-a456-426655440000
.- Parameters:
jobId
- The automatically generated ID for a job, for exampleJID123e4567-e89b-12d3-a456-426655440000
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobState
The current status of the jobs.
- Parameters:
jobState
- The current status of the jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobState
The current status of the jobs.
- Parameters:
jobState
- The current status of the jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobType
The type of job.
- Parameters:
jobType
- The type of job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobType
The type of job.
- Parameters:
jobType
- The type of job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
snowballType
The type of device used with this job.
- Parameters:
snowballType
- The type of device used with this job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
snowballType
The type of device used with this job.
- Parameters:
snowballType
- The type of device used with this job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationDate
The creation date for this job.
- Parameters:
creationDate
- The creation date for this job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
An array of
S3Resource
objects. EachS3Resource
object represents an Amazon S3 bucket that your transferred data will be exported from or imported into.- Parameters:
resources
- An array ofS3Resource
objects. EachS3Resource
object represents an Amazon S3 bucket that your transferred data will be exported from or imported into.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
An array of
This is a convenience method that creates an instance of theS3Resource
objects. EachS3Resource
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 viaJobResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresources(JobResource)
.- Parameters:
resources
- a consumer that will call methods onJobResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the job, provided at job creation.
- Parameters:
description
- The description of the job, provided at job creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyARN
The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job. This ARN was created using the CreateKey API action in KMS.
- Parameters:
kmsKeyARN
- The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job. This ARN was created using the CreateKey API action in KMS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleARN
The role ARN associated with this job. This ARN was created using the CreateRole API action in Identity and Access Management.
- Parameters:
roleARN
- The role ARN associated with this job. This ARN was created using the CreateRole API action in Identity and Access Management.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressId
The ID for the address that you want the Snow device shipped to.
- Parameters:
addressId
- The ID for the address that you want the Snow device shipped to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shippingDetails
A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
- Parameters:
shippingDetails
- A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shippingDetails
A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.
This is a convenience method that creates an instance of theShippingDetails.Builder
avoiding the need to create one manually viaShippingDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toshippingDetails(ShippingDetails)
.- Parameters:
shippingDetails
- a consumer that will call methods onShippingDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
snowballCapacityPreference
The Snow device 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.
For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide.
- Parameters:
snowballCapacityPreference
- The Snow device 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.For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
snowballCapacityPreference
The Snow device 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.
For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide.
- Parameters:
snowballCapacityPreference
- The Snow device 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.For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the Snowcone User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theDescribeJob
action in theJobMetadata
data type.- Parameters:
notification
- The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. TheNotification
object is returned as a part of the response syntax of theDescribeJob
action in theJobMetadata
data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The
This is a convenience method that creates an instance of theNotification
object is returned as a part of the response syntax of theDescribeJob
action in theJobMetadata
data type.Notification.Builder
avoiding the need to create one manually viaNotification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotification(Notification)
.- Parameters:
notification
- a consumer that will call methods onNotification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataTransferProgress
A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon Web Services. This data is only available while a job has a
JobState
value ofInProgress
, for both import and export jobs.- Parameters:
dataTransferProgress
- A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon Web Services. This data is only available while a job has aJobState
value ofInProgress
, for both import and export jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataTransferProgress
default JobMetadata.Builder dataTransferProgress(Consumer<DataTransfer.Builder> dataTransferProgress) A value that defines the real-time status of a Snow device's data transfer while the device is at Amazon Web Services. This data is only available while a job has a
This is a convenience method that creates an instance of theJobState
value ofInProgress
, for both import and export jobs.DataTransfer.Builder
avoiding the need to create one manually viaDataTransfer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataTransferProgress(DataTransfer)
.- Parameters:
dataTransferProgress
- a consumer that will call methods onDataTransfer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 Snow device for your job part is being delivered to you.
- Parameters:
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 Snow device for your job part is being delivered to you.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 Snow device for your job part is being delivered to you.
This is a convenience method that creates an instance of theJobLogs.Builder
avoiding the need to create one manually viaJobLogs.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobLogInfo(JobLogs)
.- Parameters:
jobLogInfo
- a consumer that will call methods onJobLogs.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clusterId
The 39-character ID for the cluster, for example
CID123e4567-e89b-12d3-a456-426655440000
.- Parameters:
clusterId
- The 39-character ID for the cluster, for exampleCID123e4567-e89b-12d3-a456-426655440000
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxDocuments
The metadata associated with the tax documents required in your Amazon Web Services Region.
- Parameters:
taxDocuments
- The metadata associated with the tax documents required in your Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxDocuments
The metadata associated with the tax documents required in your Amazon Web Services Region.
This is a convenience method that creates an instance of theTaxDocuments.Builder
avoiding the need to create one manually viaTaxDocuments.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaxDocuments(TaxDocuments)
.- Parameters:
taxDocuments
- a consumer that will call methods onTaxDocuments.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deviceConfiguration
Sets the value of the DeviceConfiguration property for this object.- Parameters:
deviceConfiguration
- The new value for the DeviceConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceConfiguration
default JobMetadata.Builder deviceConfiguration(Consumer<DeviceConfiguration.Builder> deviceConfiguration) Sets the value of the DeviceConfiguration property for this object. This is a convenience method that creates an instance of theDeviceConfiguration.Builder
avoiding the need to create one manually viaDeviceConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceConfiguration(DeviceConfiguration)
.- Parameters:
deviceConfiguration
- a consumer that will call methods onDeviceConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
remoteManagement
Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When set to
INSTALLED_AUTOSTART
, remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.- Parameters:
remoteManagement
- Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When set toINSTALLED_AUTOSTART
, remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
remoteManagement
Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When set to
INSTALLED_AUTOSTART
, remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.- Parameters:
remoteManagement
- Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network. When set toINSTALLED_AUTOSTART
, remote management will automatically be available when the device arrives at your location. Otherwise, you need to use the Snowball Client to manage the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
longTermPricingId
The ID of the long-term pricing type for the device.
- Parameters:
longTermPricingId
- The ID of the long-term pricing type for the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onDeviceServiceConfiguration
JobMetadata.Builder onDeviceServiceConfiguration(OnDeviceServiceConfiguration onDeviceServiceConfiguration) Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.
- Parameters:
onDeviceServiceConfiguration
- Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onDeviceServiceConfiguration
default JobMetadata.Builder onDeviceServiceConfiguration(Consumer<OnDeviceServiceConfiguration.Builder> onDeviceServiceConfiguration) Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.
This is a convenience method that creates an instance of theOnDeviceServiceConfiguration.Builder
avoiding the need to create one manually viaOnDeviceServiceConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toonDeviceServiceConfiguration(OnDeviceServiceConfiguration)
.- Parameters:
onDeviceServiceConfiguration
- a consumer that will call methods onOnDeviceServiceConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
impactLevel
The highest impact level of data that will be stored or processed on the device, provided at job creation.
- Parameters:
impactLevel
- The highest impact level of data that will be stored or processed on the device, provided at job creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
impactLevel
The highest impact level of data that will be stored or processed on the device, provided at job creation.
- Parameters:
impactLevel
- The highest impact level of data that will be stored or processed on the device, provided at job creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pickupDetails
Information identifying the person picking up the device.
- Parameters:
pickupDetails
- Information identifying the person picking up the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pickupDetails
Information identifying the person picking up the device.
This is a convenience method that creates an instance of thePickupDetails.Builder
avoiding the need to create one manually viaPickupDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topickupDetails(PickupDetails)
.- Parameters:
pickupDetails
- a consumer that will call methods onPickupDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
snowballId
Unique ID associated with a device.
- Parameters:
snowballId
- Unique ID associated with a device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-