@Generated(value="software.amazon.awssdk:codegen") public final class UpdateJobRequest extends SnowballRequest implements ToCopyableBuilder<UpdateJobRequest.Builder,UpdateJobRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateJobRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
addressId()
The ID of the updated Address object.
|
static UpdateJobRequest.Builder |
builder() |
String |
description()
The updated description of this job's JobMetadata object.
|
boolean |
equals(Object obj) |
String |
forwardingAddressId()
The updated ID for the forwarding address for a job.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
jobId()
The job ID of the job that you want to update, for example
JID123e4567-e89b-12d3-a456-426655440000 . |
Notification |
notification()
The new or updated Notification object.
|
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).
|
String |
roleARN()
The new role Amazon Resource Name (ARN) that you want to associate with this job.
|
static Class<? extends UpdateJobRequest.Builder> |
serializableBuilderClass() |
ShippingOption |
shippingOption()
The updated shipping option value of this job's ShippingDetails object.
|
String |
shippingOptionAsString()
The updated shipping option value of this job's ShippingDetails object.
|
SnowballCapacity |
snowballCapacityPreference()
The updated
SnowballCapacityPreference of this job's JobMetadata object. |
String |
snowballCapacityPreferenceAsString()
The updated
SnowballCapacityPreference of this job's JobMetadata object. |
UpdateJobRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String jobId()
The job ID of the job that you want to update, for example JID123e4567-e89b-12d3-a456-426655440000
.
JID123e4567-e89b-12d3-a456-426655440000
.public 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.
public Notification notification()
The new or updated Notification object.
public 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).
public String addressId()
The ID of the updated Address object.
public ShippingOption shippingOption()
The updated shipping option value of this job's ShippingDetails object.
If the service returns an enum value that is not available in the current SDK version, shippingOption
will return ShippingOption.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from shippingOptionAsString()
.
ShippingOption
public String shippingOptionAsString()
The updated shipping option value of this job's ShippingDetails object.
If the service returns an enum value that is not available in the current SDK version, shippingOption
will return ShippingOption.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from shippingOptionAsString()
.
ShippingOption
public String description()
The updated description of this job's JobMetadata object.
public SnowballCapacity snowballCapacityPreference()
The updated SnowballCapacityPreference
of this job's JobMetadata object. The 50 TB Snowballs
are only available in the US regions.
If the service returns an enum value that is not available in the current SDK version,
snowballCapacityPreference
will return SnowballCapacity.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from snowballCapacityPreferenceAsString()
.
SnowballCapacityPreference
of this job's JobMetadata object. The 50 TB
Snowballs are only available in the US regions.SnowballCapacity
public String snowballCapacityPreferenceAsString()
The updated SnowballCapacityPreference
of this job's JobMetadata object. The 50 TB Snowballs
are only available in the US regions.
If the service returns an enum value that is not available in the current SDK version,
snowballCapacityPreference
will return SnowballCapacity.UNKNOWN_TO_SDK_VERSION
. The raw value
returned by the service is available from snowballCapacityPreferenceAsString()
.
SnowballCapacityPreference
of this job's JobMetadata object. The 50 TB
Snowballs are only available in the US regions.SnowballCapacity
public String forwardingAddressId()
The updated ID for the forwarding address for a job. This field is not supported in most regions.
public UpdateJobRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateJobRequest.Builder,UpdateJobRequest>
toBuilder
in class SnowballRequest
public static UpdateJobRequest.Builder builder()
public static Class<? extends UpdateJobRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.