Interface UpdateJobRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateJobRequest.Builder,UpdateJobRequest>,SdkBuilder<UpdateJobRequest.Builder,UpdateJobRequest>,SdkPojo,SdkRequest.Builder,SnowballRequest.Builder
- Enclosing class:
- UpdateJobRequest
public static interface UpdateJobRequest.Builder extends SnowballRequest.Builder, SdkPojo, CopyableBuilder<UpdateJobRequest.Builder,UpdateJobRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateJobRequest.BuilderaddressId(String addressId)The ID of the updated Address object.UpdateJobRequest.Builderdescription(String description)The updated description of this job's JobMetadata object.UpdateJobRequest.BuilderforwardingAddressId(String forwardingAddressId)The updated ID for the forwarding address for a job.UpdateJobRequest.BuilderjobId(String jobId)The job ID of the job that you want to update, for exampleJID123e4567-e89b-12d3-a456-426655440000.default UpdateJobRequest.Buildernotification(Consumer<Notification.Builder> notification)The new or updated Notification object.UpdateJobRequest.Buildernotification(Notification notification)The new or updated Notification object.default UpdateJobRequest.BuilderonDeviceServiceConfiguration(Consumer<OnDeviceServiceConfiguration.Builder> onDeviceServiceConfiguration)Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into.UpdateJobRequest.BuilderonDeviceServiceConfiguration(OnDeviceServiceConfiguration onDeviceServiceConfiguration)Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into.UpdateJobRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateJobRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateJobRequest.BuilderpickupDetails(Consumer<PickupDetails.Builder> pickupDetails)Sets the value of the PickupDetails property for this object.UpdateJobRequest.BuilderpickupDetails(PickupDetails pickupDetails)Sets the value of the PickupDetails property for this object.default UpdateJobRequest.Builderresources(Consumer<JobResource.Builder> resources)The updatedJobResourceobject, or the updated JobResource object.UpdateJobRequest.Builderresources(JobResource resources)The updatedJobResourceobject, or the updated JobResource object.UpdateJobRequest.BuilderroleARN(String roleARN)The new role Amazon Resource Name (ARN) that you want to associate with this job.UpdateJobRequest.BuildershippingOption(String shippingOption)The updated shipping option value of this job's ShippingDetails object.UpdateJobRequest.BuildershippingOption(ShippingOption shippingOption)The updated shipping option value of this job's ShippingDetails object.UpdateJobRequest.BuildersnowballCapacityPreference(String snowballCapacityPreference)The updatedSnowballCapacityPreferenceof this job's JobMetadata object.UpdateJobRequest.BuildersnowballCapacityPreference(SnowballCapacity snowballCapacityPreference)The updatedSnowballCapacityPreferenceof this job's JobMetadata object.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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
-
Methods inherited from interface software.amazon.awssdk.services.snowball.model.SnowballRequest.Builder
build
-
-
-
-
Method Detail
-
jobId
UpdateJobRequest.Builder jobId(String jobId)
The job ID of the job that you want to update, for example
JID123e4567-e89b-12d3-a456-426655440000.- Parameters:
jobId- The job ID of the job that you want to update, for exampleJID123e4567-e89b-12d3-a456-426655440000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleARN
UpdateJobRequest.Builder roleARN(String roleARN)
The new role Amazon Resource Name (ARN) that you want to associate with this job. To create a role ARN, use the CreateRoleIdentity and Access Management (IAM) API action.
- Parameters:
roleARN- The new role Amazon Resource Name (ARN) that you want to associate with this job. To create a role ARN, use the CreateRoleIdentity and Access Management (IAM) API action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
UpdateJobRequest.Builder notification(Notification notification)
The new or updated Notification object.
- Parameters:
notification- The new or updated Notification object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
default UpdateJobRequest.Builder notification(Consumer<Notification.Builder> notification)
The new or updated Notification object.
This is a convenience method that creates an instance of theNotification.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)
-
resources
UpdateJobRequest.Builder resources(JobResource resources)
The updated
JobResourceobject, or the updated JobResource object.- Parameters:
resources- The updatedJobResourceobject, or the updated JobResource object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
default UpdateJobRequest.Builder resources(Consumer<JobResource.Builder> resources)
The updated
This is a convenience method that creates an instance of theJobResourceobject, or the updated JobResource object.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)
-
onDeviceServiceConfiguration
UpdateJobRequest.Builder onDeviceServiceConfiguration(OnDeviceServiceConfiguration onDeviceServiceConfiguration)
Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System) and the Amazon Web Services Storage Gateway service Tape Gateway type.
- Parameters:
onDeviceServiceConfiguration- Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System) and the Amazon Web Services Storage Gateway service Tape Gateway type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onDeviceServiceConfiguration
default UpdateJobRequest.Builder onDeviceServiceConfiguration(Consumer<OnDeviceServiceConfiguration.Builder> onDeviceServiceConfiguration)
Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System) and the Amazon Web Services Storage Gateway service Tape Gateway type.
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)
-
addressId
UpdateJobRequest.Builder addressId(String addressId)
The ID of the updated Address object.
- Parameters:
addressId- The ID of the updated Address object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shippingOption
UpdateJobRequest.Builder shippingOption(String shippingOption)
The updated shipping option value of this job's ShippingDetails object.
- Parameters:
shippingOption- The updated shipping option value of this job's ShippingDetails object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ShippingOption,ShippingOption
-
shippingOption
UpdateJobRequest.Builder shippingOption(ShippingOption shippingOption)
The updated shipping option value of this job's ShippingDetails object.
- Parameters:
shippingOption- The updated shipping option value of this job's ShippingDetails object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ShippingOption,ShippingOption
-
description
UpdateJobRequest.Builder description(String description)
The updated description of this job's JobMetadata object.
- Parameters:
description- The updated description of this job's JobMetadata object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snowballCapacityPreference
UpdateJobRequest.Builder snowballCapacityPreference(String snowballCapacityPreference)
The updated
SnowballCapacityPreferenceof this job's JobMetadata object. The 50 TB Snowballs are only available in the US regions.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 updatedSnowballCapacityPreferenceof this job's JobMetadata object. The 50 TB Snowballs are only available in the US regions.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
UpdateJobRequest.Builder snowballCapacityPreference(SnowballCapacity snowballCapacityPreference)
The updated
SnowballCapacityPreferenceof this job's JobMetadata object. The 50 TB Snowballs are only available in the US regions.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 updatedSnowballCapacityPreferenceof this job's JobMetadata object. The 50 TB Snowballs are only available in the US regions.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
-
forwardingAddressId
UpdateJobRequest.Builder forwardingAddressId(String forwardingAddressId)
The updated ID for the forwarding address for a job. This field is not supported in most regions.
- Parameters:
forwardingAddressId- The updated ID for the forwarding address for a job. This field is not supported in most regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pickupDetails
UpdateJobRequest.Builder pickupDetails(PickupDetails pickupDetails)
Sets the value of the PickupDetails property for this object.- Parameters:
pickupDetails- The new value for the PickupDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pickupDetails
default UpdateJobRequest.Builder pickupDetails(Consumer<PickupDetails.Builder> pickupDetails)
Sets the value of the PickupDetails property for this object. 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)
-
overrideConfiguration
UpdateJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-