public static interface UpdateJobRequest.Builder extends SnowballRequest.Builder, CopyableBuilder<UpdateJobRequest.Builder,UpdateJobRequest>
Modifier and Type | Method and Description |
---|---|
UpdateJobRequest.Builder |
addressId(String addressId)
The ID of the updated Address object.
|
UpdateJobRequest.Builder |
description(String description)
The updated description of this job's JobMetadata object.
|
UpdateJobRequest.Builder |
forwardingAddressId(String forwardingAddressId)
The updated ID for the forwarding address for a job.
|
UpdateJobRequest.Builder |
jobId(String jobId)
The job ID of the job that you want to update, for example
JID123e4567-e89b-12d3-a456-426655440000 . |
default UpdateJobRequest.Builder |
notification(Consumer<Notification.Builder> notification)
The new or updated Notification object.
|
UpdateJobRequest.Builder |
notification(Notification notification)
The new or updated Notification object.
|
UpdateJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default UpdateJobRequest.Builder |
resources(Consumer<JobResource.Builder> resources)
The updated S3Resource object (for a single Amazon S3 bucket or key range), or the updated
JobResource object (for multiple buckets or key ranges).
|
UpdateJobRequest.Builder |
resources(JobResource resources)
The updated S3Resource object (for a single Amazon S3 bucket or key range), or the updated
JobResource object (for multiple buckets or key ranges).
|
UpdateJobRequest.Builder |
roleARN(String roleARN)
The new role Amazon Resource Name (ARN) that you want to associate with this job.
|
UpdateJobRequest.Builder |
shippingOption(ShippingOption shippingOption)
The updated shipping option value of this job's ShippingDetails object.
|
UpdateJobRequest.Builder |
shippingOption(String shippingOption)
The updated shipping option value of this job's ShippingDetails object.
|
UpdateJobRequest.Builder |
snowballCapacityPreference(SnowballCapacity snowballCapacityPreference)
The updated
SnowballCapacityPreference of this job's JobMetadata object. |
UpdateJobRequest.Builder |
snowballCapacityPreference(String snowballCapacityPreference)
The updated
SnowballCapacityPreference of this job's JobMetadata object. |
build
overrideConfiguration
copy
applyMutation, build
UpdateJobRequest.Builder jobId(String jobId)
The job ID of the job that you want to update, for example
JID123e4567-e89b-12d3-a456-426655440000
.
jobId
- The job ID of the job that you want to update, for example
JID123e4567-e89b-12d3-a456-426655440000
.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 CreateRoleAWS Identity and Access Management (IAM) API action.
roleARN
- The new role Amazon Resource Name (ARN) that you want to associate with this job. To create a role
ARN, use the CreateRoleAWS
Identity and Access Management (IAM) API action.UpdateJobRequest.Builder notification(Notification notification)
The new or updated Notification object.
notification
- The new or updated Notification object.default UpdateJobRequest.Builder notification(Consumer<Notification.Builder> notification)
The new or updated Notification object.
This is a convenience that creates an instance of theNotification.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)
UpdateJobRequest.Builder resources(JobResource resources)
The updated S3Resource object (for a single Amazon S3 bucket or key range), or the updated JobResource object (for multiple buckets or key ranges).
resources
- The updated S3Resource object (for a single Amazon S3 bucket or key range), or the updated
JobResource object (for multiple buckets or key ranges).default UpdateJobRequest.Builder resources(Consumer<JobResource.Builder> resources)
The updated S3Resource object (for a single Amazon S3 bucket or key range), or the updated JobResource object (for multiple buckets or key ranges).
This is a convenience that creates an instance of theJobResource.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)
UpdateJobRequest.Builder addressId(String addressId)
The ID of the updated Address object.
addressId
- The ID of the updated Address object.UpdateJobRequest.Builder shippingOption(String shippingOption)
The updated shipping option value of this job's ShippingDetails object.
shippingOption
- The updated shipping option value of this job's ShippingDetails object.ShippingOption
,
ShippingOption
UpdateJobRequest.Builder shippingOption(ShippingOption shippingOption)
The updated shipping option value of this job's ShippingDetails object.
shippingOption
- The updated shipping option value of this job's ShippingDetails object.ShippingOption
,
ShippingOption
UpdateJobRequest.Builder description(String description)
The updated description of this job's JobMetadata object.
description
- The updated description of this job's JobMetadata object.UpdateJobRequest.Builder snowballCapacityPreference(String snowballCapacityPreference)
The updated SnowballCapacityPreference
of this job's JobMetadata object. The 50 TB
Snowballs are only available in the US regions.
snowballCapacityPreference
- The updated SnowballCapacityPreference
of this job's JobMetadata object. The 50 TB
Snowballs are only available in the US regions.SnowballCapacity
,
SnowballCapacity
UpdateJobRequest.Builder snowballCapacityPreference(SnowballCapacity snowballCapacityPreference)
The updated SnowballCapacityPreference
of this job's JobMetadata object. The 50 TB
Snowballs are only available in the US regions.
snowballCapacityPreference
- The updated SnowballCapacityPreference
of this job's JobMetadata object. The 50 TB
Snowballs are only available in the US regions.SnowballCapacity
,
SnowballCapacity
UpdateJobRequest.Builder forwardingAddressId(String forwardingAddressId)
The updated ID for the forwarding address for a job. This field is not supported in most regions.
forwardingAddressId
- The updated ID for the forwarding address for a job. This field is not supported in most regions.UpdateJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.