Interface JobMetadata.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JobMetadata.Builder,JobMetadata>,SdkBuilder<JobMetadata.Builder,JobMetadata>,SdkPojo
- Enclosing class:
- JobMetadata
public static interface JobMetadata.Builder extends SdkPojo, CopyableBuilder<JobMetadata.Builder,JobMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description JobMetadata.BuilderaddressId(String addressId)The ID for the address that you want the Snow device shipped to.JobMetadata.BuilderclusterId(String clusterId)The 39-character ID for the cluster, for exampleCID123e4567-e89b-12d3-a456-426655440000.JobMetadata.BuildercreationDate(Instant creationDate)The creation date for this job.default JobMetadata.BuilderdataTransferProgress(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.JobMetadata.BuilderdataTransferProgress(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.JobMetadata.Builderdescription(String description)The description of the job, provided at job creation.default JobMetadata.BuilderdeviceConfiguration(Consumer<DeviceConfiguration.Builder> deviceConfiguration)Sets the value of the DeviceConfiguration property for this object.JobMetadata.BuilderdeviceConfiguration(DeviceConfiguration deviceConfiguration)Sets the value of the DeviceConfiguration property for this object.JobMetadata.BuilderforwardingAddressId(String forwardingAddressId)The ID of the address that you want a job shipped to, after it will be shipped to its primary address.JobMetadata.BuilderimpactLevel(String impactLevel)The highest impact level of data that will be stored or processed on the device, provided at job creation.JobMetadata.BuilderimpactLevel(ImpactLevel impactLevel)The highest impact level of data that will be stored or processed on the device, provided at job creation.JobMetadata.BuilderjobId(String jobId)The automatically generated ID for a job, for exampleJID123e4567-e89b-12d3-a456-426655440000.default JobMetadata.BuilderjobLogInfo(Consumer<JobLogs.Builder> jobLogInfo)Links to Amazon S3 presigned URLs for the job report and logs.JobMetadata.BuilderjobLogInfo(JobLogs jobLogInfo)Links to Amazon S3 presigned URLs for the job report and logs.JobMetadata.BuilderjobState(String jobState)The current status of the jobs.JobMetadata.BuilderjobState(JobState jobState)The current status of the jobs.JobMetadata.BuilderjobType(String jobType)The type of job.JobMetadata.BuilderjobType(JobType jobType)The type of job.JobMetadata.BuilderkmsKeyARN(String kmsKeyARN)The Amazon Resource Name (ARN) for the Key Management Service (KMS) key associated with this job.JobMetadata.BuilderlongTermPricingId(String longTermPricingId)The ID of the long-term pricing type for the device.default JobMetadata.Buildernotification(Consumer<Notification.Builder> notification)The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job.JobMetadata.Buildernotification(Notification notification)The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job.default JobMetadata.BuilderonDeviceServiceConfiguration(Consumer<OnDeviceServiceConfiguration.Builder> onDeviceServiceConfiguration)Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.JobMetadata.BuilderonDeviceServiceConfiguration(OnDeviceServiceConfiguration onDeviceServiceConfiguration)Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.default JobMetadata.BuilderpickupDetails(Consumer<PickupDetails.Builder> pickupDetails)Information identifying the person picking up the device.JobMetadata.BuilderpickupDetails(PickupDetails pickupDetails)Information identifying the person picking up the device.JobMetadata.BuilderremoteManagement(String remoteManagement)Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network.JobMetadata.BuilderremoteManagement(RemoteManagement remoteManagement)Allows you to securely operate and manage Snowcone devices remotely from outside of your internal network.default JobMetadata.Builderresources(Consumer<JobResource.Builder> resources)An array ofS3Resourceobjects.JobMetadata.Builderresources(JobResource resources)An array ofS3Resourceobjects.JobMetadata.BuilderroleARN(String roleARN)The role ARN associated with this job.default JobMetadata.BuildershippingDetails(Consumer<ShippingDetails.Builder> shippingDetails)A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.JobMetadata.BuildershippingDetails(ShippingDetails shippingDetails)A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.JobMetadata.BuildersnowballCapacityPreference(String snowballCapacityPreference)The Snow device capacity preference for this job, specified at job creation.JobMetadata.BuildersnowballCapacityPreference(SnowballCapacity snowballCapacityPreference)The Snow device capacity preference for this job, specified at job creation.JobMetadata.BuildersnowballId(String snowballId)Unique ID associated with a device.JobMetadata.BuildersnowballType(String snowballType)The type of device used with this job.JobMetadata.BuildersnowballType(SnowballType snowballType)The type of device used with this job.default JobMetadata.BuildertaxDocuments(Consumer<TaxDocuments.Builder> taxDocuments)The metadata associated with the tax documents required in your Amazon Web Services Region.JobMetadata.BuildertaxDocuments(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 Detail
-
jobId
JobMetadata.Builder jobId(String 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
JobMetadata.Builder jobState(String jobState)
The current status of the jobs.
-
jobState
JobMetadata.Builder jobState(JobState jobState)
The current status of the jobs.
-
jobType
JobMetadata.Builder jobType(String jobType)
The type of job.
-
jobType
JobMetadata.Builder jobType(JobType jobType)
The type of job.
-
snowballType
JobMetadata.Builder snowballType(String 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,SnowballType
-
snowballType
JobMetadata.Builder snowballType(SnowballType 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,SnowballType
-
creationDate
JobMetadata.Builder creationDate(Instant 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
JobMetadata.Builder resources(JobResource resources)
An array of
S3Resourceobjects. EachS3Resourceobject represents an Amazon S3 bucket that your transferred data will be exported from or imported into.- Parameters:
resources- An array ofS3Resourceobjects. EachS3Resourceobject 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
default JobMetadata.Builder resources(Consumer<JobResource.Builder> resources)
An array of
This is a convenience method that creates an instance of theS3Resourceobjects. EachS3Resourceobject represents an Amazon S3 bucket that your transferred data will be exported from or imported into.JobResource.Builderavoiding the need to create one manually viaJobResource.builder().When the
Consumercompletes,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:
resources(JobResource)
-
description
JobMetadata.Builder description(String 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
JobMetadata.Builder kmsKeyARN(String 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
JobMetadata.Builder roleARN(String 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
JobMetadata.Builder addressId(String 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
JobMetadata.Builder shippingDetails(ShippingDetails 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
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 method that creates an instance of theShippingDetails.Builderavoiding the need to create one manually viaShippingDetails.builder().When the
Consumercompletes,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:
shippingDetails(ShippingDetails)
-
snowballCapacityPreference
JobMetadata.Builder snowballCapacityPreference(String 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:
SnowballCapacity,SnowballCapacity
-
snowballCapacityPreference
JobMetadata.Builder snowballCapacityPreference(SnowballCapacity 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:
SnowballCapacity,SnowballCapacity
-
notification
JobMetadata.Builder notification(Notification notification)
The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The
Notificationobject is returned as a part of the response syntax of theDescribeJobaction in theJobMetadatadata type.- Parameters:
notification- The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. TheNotificationobject is returned as a part of the response syntax of theDescribeJobaction in theJobMetadatadata type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
default JobMetadata.Builder notification(Consumer<Notification.Builder> 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 theNotificationobject is returned as a part of the response syntax of theDescribeJobaction in theJobMetadatadata type.Notification.Builderavoiding the need to create one manually viaNotification.builder().When the
Consumercompletes,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:
notification(Notification)
-
dataTransferProgress
JobMetadata.Builder 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. This data is only available while a job has a
JobStatevalue 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 aJobStatevalue 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 theJobStatevalue ofInProgress, for both import and export jobs.DataTransfer.Builderavoiding the need to create one manually viaDataTransfer.builder().When the
Consumercompletes,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:
dataTransferProgress(DataTransfer)
-
jobLogInfo
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 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
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 Snow device for your job part is being delivered to you.
This is a convenience method that creates an instance of theJobLogs.Builderavoiding the need to create one manually viaJobLogs.builder().When the
Consumercompletes,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:
jobLogInfo(JobLogs)
-
clusterId
JobMetadata.Builder clusterId(String 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
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.
- 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
JobMetadata.Builder taxDocuments(TaxDocuments 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
default JobMetadata.Builder taxDocuments(Consumer<TaxDocuments.Builder> 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.Builderavoiding the need to create one manually viaTaxDocuments.builder().When the
Consumercompletes,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:
taxDocuments(TaxDocuments)
-
deviceConfiguration
JobMetadata.Builder deviceConfiguration(DeviceConfiguration 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.Builderavoiding the need to create one manually viaDeviceConfiguration.builder().When the
Consumercompletes,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:
deviceConfiguration(DeviceConfiguration)
-
remoteManagement
JobMetadata.Builder remoteManagement(String 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,RemoteManagement
-
remoteManagement
JobMetadata.Builder remoteManagement(RemoteManagement 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,RemoteManagement
-
longTermPricingId
JobMetadata.Builder longTermPricingId(String 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.Builderavoiding the need to create one manually viaOnDeviceServiceConfiguration.builder().When the
Consumercompletes,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:
onDeviceServiceConfiguration(OnDeviceServiceConfiguration)
-
impactLevel
JobMetadata.Builder impactLevel(String 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,ImpactLevel
-
impactLevel
JobMetadata.Builder impactLevel(ImpactLevel 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,ImpactLevel
-
pickupDetails
JobMetadata.Builder pickupDetails(PickupDetails 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
default JobMetadata.Builder pickupDetails(Consumer<PickupDetails.Builder> pickupDetails)
Information identifying the person picking up the device.
This is a convenience method that creates an instance of thePickupDetails.Builderavoiding the need to create one manually viaPickupDetails.builder().When the
Consumercompletes,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:
pickupDetails(PickupDetails)
-
snowballId
JobMetadata.Builder snowballId(String 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.
-
-