@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateJobRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAddressId()
The ID of the updated Address object.
|
String |
getDescription()
The updated description of this job's JobMetadata object.
|
String |
getForwardingAddressId()
The updated ID for the forwarding address for a job.
|
String |
getJobId()
The job ID of the job that you want to update, for example
JID123e4567-e89b-12d3-a456-426655440000 . |
Notification |
getNotification()
The new or updated Notification object.
|
OnDeviceServiceConfiguration |
getOnDeviceServiceConfiguration()
Specifies the service or services on the Snow Family device that your transferred data will be exported from or
imported into.
|
PickupDetails |
getPickupDetails() |
JobResource |
getResources()
The updated
JobResource object, or the updated JobResource object. |
String |
getRoleARN()
The new role Amazon Resource Name (ARN) that you want to associate with this job.
|
String |
getShippingOption()
The updated shipping option value of this job's ShippingDetails object.
|
String |
getSnowballCapacityPreference()
The updated
SnowballCapacityPreference of this job's JobMetadata object. |
int |
hashCode() |
void |
setAddressId(String addressId)
The ID of the updated Address object.
|
void |
setDescription(String description)
The updated description of this job's JobMetadata object.
|
void |
setForwardingAddressId(String forwardingAddressId)
The updated ID for the forwarding address for a job.
|
void |
setJobId(String jobId)
The job ID of the job that you want to update, for example
JID123e4567-e89b-12d3-a456-426655440000 . |
void |
setNotification(Notification notification)
The new or updated Notification object.
|
void |
setOnDeviceServiceConfiguration(OnDeviceServiceConfiguration onDeviceServiceConfiguration)
Specifies the service or services on the Snow Family device that your transferred data will be exported from or
imported into.
|
void |
setPickupDetails(PickupDetails pickupDetails) |
void |
setResources(JobResource resources)
The updated
JobResource object, or the updated JobResource object. |
void |
setRoleARN(String roleARN)
The new role Amazon Resource Name (ARN) that you want to associate with this job.
|
void |
setShippingOption(ShippingOption shippingOption)
The updated shipping option value of this job's ShippingDetails object.
|
void |
setShippingOption(String shippingOption)
The updated shipping option value of this job's ShippingDetails object.
|
void |
setSnowballCapacityPreference(SnowballCapacity snowballCapacityPreference)
The updated
SnowballCapacityPreference of this job's JobMetadata object. |
void |
setSnowballCapacityPreference(String snowballCapacityPreference)
The updated
SnowballCapacityPreference of this job's JobMetadata object. |
String |
toString()
Returns a string representation of this object.
|
UpdateJobRequest |
withAddressId(String addressId)
The ID of the updated Address object.
|
UpdateJobRequest |
withDescription(String description)
The updated description of this job's JobMetadata object.
|
UpdateJobRequest |
withForwardingAddressId(String forwardingAddressId)
The updated ID for the forwarding address for a job.
|
UpdateJobRequest |
withJobId(String jobId)
The job ID of the job that you want to update, for example
JID123e4567-e89b-12d3-a456-426655440000 . |
UpdateJobRequest |
withNotification(Notification notification)
The new or updated Notification object.
|
UpdateJobRequest |
withOnDeviceServiceConfiguration(OnDeviceServiceConfiguration onDeviceServiceConfiguration)
Specifies the service or services on the Snow Family device that your transferred data will be exported from or
imported into.
|
UpdateJobRequest |
withPickupDetails(PickupDetails pickupDetails) |
UpdateJobRequest |
withResources(JobResource resources)
The updated
JobResource object, or the updated JobResource object. |
UpdateJobRequest |
withRoleARN(String roleARN)
The new role Amazon Resource Name (ARN) that you want to associate with this job.
|
UpdateJobRequest |
withShippingOption(ShippingOption shippingOption)
The updated shipping option value of this job's ShippingDetails object.
|
UpdateJobRequest |
withShippingOption(String shippingOption)
The updated shipping option value of this job's ShippingDetails object.
|
UpdateJobRequest |
withSnowballCapacityPreference(SnowballCapacity snowballCapacityPreference)
The updated
SnowballCapacityPreference of this job's JobMetadata object. |
UpdateJobRequest |
withSnowballCapacityPreference(String snowballCapacityPreference)
The updated
SnowballCapacityPreference of this job's JobMetadata object. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setJobId(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
.public String getJobId()
The job ID of the job that you want to update, for example JID123e4567-e89b-12d3-a456-426655440000
.
JID123e4567-e89b-12d3-a456-426655440000
.public UpdateJobRequest withJobId(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
.public void setRoleARN(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.
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.public String getRoleARN()
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.
public UpdateJobRequest withRoleARN(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.
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.public void setNotification(Notification notification)
The new or updated Notification object.
notification
- The new or updated Notification object.public Notification getNotification()
The new or updated Notification object.
public UpdateJobRequest withNotification(Notification notification)
The new or updated Notification object.
notification
- The new or updated Notification object.public void setResources(JobResource resources)
The updated JobResource
object, or the updated JobResource object.
resources
- The updated JobResource
object, or the updated JobResource object.public JobResource getResources()
The updated JobResource
object, or the updated JobResource object.
JobResource
object, or the updated JobResource object.public UpdateJobRequest withResources(JobResource resources)
The updated JobResource
object, or the updated JobResource object.
resources
- The updated JobResource
object, or the updated JobResource object.public void setOnDeviceServiceConfiguration(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.
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.public OnDeviceServiceConfiguration getOnDeviceServiceConfiguration()
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.
public UpdateJobRequest withOnDeviceServiceConfiguration(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.
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.public void setAddressId(String addressId)
The ID of the updated Address object.
addressId
- The ID of the updated Address object.public String getAddressId()
The ID of the updated Address object.
public UpdateJobRequest withAddressId(String addressId)
The ID of the updated Address object.
addressId
- The ID of the updated Address object.public void setShippingOption(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
public String getShippingOption()
The updated shipping option value of this job's ShippingDetails object.
ShippingOption
public UpdateJobRequest withShippingOption(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
public void setShippingOption(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
public UpdateJobRequest withShippingOption(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
public void setDescription(String description)
The updated description of this job's JobMetadata object.
description
- The updated description of this job's JobMetadata object.public String getDescription()
The updated description of this job's JobMetadata object.
public UpdateJobRequest withDescription(String description)
The updated description of this job's JobMetadata object.
description
- The updated description of this job's JobMetadata object.public void setSnowballCapacityPreference(String snowballCapacityPreference)
The updated SnowballCapacityPreference
of 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.
snowballCapacityPreference
- The updated SnowballCapacityPreference
of 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.
SnowballCapacity
public String getSnowballCapacityPreference()
The updated SnowballCapacityPreference
of 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.
SnowballCapacityPreference
of 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.
SnowballCapacity
public UpdateJobRequest withSnowballCapacityPreference(String snowballCapacityPreference)
The updated SnowballCapacityPreference
of 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.
snowballCapacityPreference
- The updated SnowballCapacityPreference
of 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.
SnowballCapacity
public void setSnowballCapacityPreference(SnowballCapacity snowballCapacityPreference)
The updated SnowballCapacityPreference
of 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.
snowballCapacityPreference
- The updated SnowballCapacityPreference
of 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.
SnowballCapacity
public UpdateJobRequest withSnowballCapacityPreference(SnowballCapacity snowballCapacityPreference)
The updated SnowballCapacityPreference
of 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.
snowballCapacityPreference
- The updated SnowballCapacityPreference
of 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.
SnowballCapacity
public void setForwardingAddressId(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.public String getForwardingAddressId()
The updated ID for the forwarding address for a job. This field is not supported in most regions.
public UpdateJobRequest withForwardingAddressId(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.public void setPickupDetails(PickupDetails pickupDetails)
pickupDetails
- public PickupDetails getPickupDetails()
public UpdateJobRequest withPickupDetails(PickupDetails pickupDetails)
pickupDetails
- public String toString()
toString
in class Object
Object.toString()
public UpdateJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()