@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.
|
JobResource |
getResources()
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 |
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 |
setResources(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).
|
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; useful for testing and debugging.
|
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 |
withResources(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 |
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 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.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 CreateRoleAWS Identity 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 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.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 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).public JobResource getResources()
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 UpdateJobRequest withResources(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).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.
snowballCapacityPreference
- The updated SnowballCapacityPreference
of this job's JobMetadata object. The 50 TB
Snowballs are only available in the US regions.SnowballCapacity
public String getSnowballCapacityPreference()
The updated SnowballCapacityPreference
of this job's JobMetadata object. The 50 TB Snowballs
are only available in the US regions.
SnowballCapacityPreference
of this job's JobMetadata object. The 50 TB
Snowballs are only available in the US regions.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.
snowballCapacityPreference
- The updated SnowballCapacityPreference
of this job's JobMetadata object. The 50 TB
Snowballs are only available in the US regions.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.
snowballCapacityPreference
- The updated SnowballCapacityPreference
of this job's JobMetadata object. The 50 TB
Snowballs are only available in the US regions.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.
snowballCapacityPreference
- The updated SnowballCapacityPreference
of this job's JobMetadata object. The 50 TB
Snowballs are only available in the US regions.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 String toString()
toString
in class Object
Object.toString()
public UpdateJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.