Class UpdateJobRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.snowball.model.SnowballRequest
-
- software.amazon.awssdk.services.snowball.model.UpdateJobRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateJobRequest.Builder,UpdateJobRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateJobRequest extends SnowballRequest implements ToCopyableBuilder<UpdateJobRequest.Builder,UpdateJobRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateJobRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaddressId()The ID of the updated Address object.static UpdateJobRequest.Builderbuilder()Stringdescription()The updated description of this job's JobMetadata object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringforwardingAddressId()The updated ID for the forwarding address for a job.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobId()The job ID of the job that you want to update, for exampleJID123e4567-e89b-12d3-a456-426655440000.Notificationnotification()The new or updated Notification object.OnDeviceServiceConfigurationonDeviceServiceConfiguration()Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into.PickupDetailspickupDetails()Returns the value of the PickupDetails property for this object.JobResourceresources()The updatedJobResourceobject, or the updated JobResource object.StringroleARN()The new role Amazon Resource Name (ARN) that you want to associate with this job.List<SdkField<?>>sdkFields()static Class<? extends UpdateJobRequest.Builder>serializableBuilderClass()ShippingOptionshippingOption()The updated shipping option value of this job's ShippingDetails object.StringshippingOptionAsString()The updated shipping option value of this job's ShippingDetails object.SnowballCapacitysnowballCapacityPreference()The updatedSnowballCapacityPreferenceof this job's JobMetadata object.StringsnowballCapacityPreferenceAsString()The updatedSnowballCapacityPreferenceof this job's JobMetadata object.UpdateJobRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
jobId
public final String jobId()
The job ID of the job that you want to update, for example
JID123e4567-e89b-12d3-a456-426655440000.- Returns:
- The job ID of the job that you want to update, for example
JID123e4567-e89b-12d3-a456-426655440000.
-
roleARN
public final 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.
- Returns:
- 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.
-
notification
public final Notification notification()
The new or updated Notification object.
- Returns:
- The new or updated Notification object.
-
resources
public final JobResource resources()
The updated
JobResourceobject, or the updated JobResource object.- Returns:
- The updated
JobResourceobject, or the updated JobResource object.
-
onDeviceServiceConfiguration
public final 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.
- Returns:
- 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.
-
addressId
public final String addressId()
The ID of the updated Address object.
- Returns:
- The ID of the updated Address object.
-
shippingOption
public final 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,
shippingOptionwill returnShippingOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromshippingOptionAsString().- Returns:
- The updated shipping option value of this job's ShippingDetails object.
- See Also:
ShippingOption
-
shippingOptionAsString
public final 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,
shippingOptionwill returnShippingOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromshippingOptionAsString().- Returns:
- The updated shipping option value of this job's ShippingDetails object.
- See Also:
ShippingOption
-
description
public final String description()
The updated description of this job's JobMetadata object.
- Returns:
- The updated description of this job's JobMetadata object.
-
snowballCapacityPreference
public final 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.
If the service returns an enum value that is not available in the current SDK version,
snowballCapacityPreferencewill returnSnowballCapacity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsnowballCapacityPreferenceAsString().- Returns:
- 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.
- See Also:
SnowballCapacity
-
snowballCapacityPreferenceAsString
public final String snowballCapacityPreferenceAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
snowballCapacityPreferencewill returnSnowballCapacity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsnowballCapacityPreferenceAsString().- Returns:
- 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.
- See Also:
SnowballCapacity
-
forwardingAddressId
public final String forwardingAddressId()
The updated ID for the forwarding address for a job. This field is not supported in most regions.
- Returns:
- The updated ID for the forwarding address for a job. This field is not supported in most regions.
-
pickupDetails
public final PickupDetails pickupDetails()
Returns the value of the PickupDetails property for this object.- Returns:
- The value of the PickupDetails property for this object.
-
toBuilder
public UpdateJobRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateJobRequest.Builder,UpdateJobRequest>- Specified by:
toBuilderin classSnowballRequest
-
builder
public static UpdateJobRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateJobRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-