@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateSnapshotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken() |
String |
getName()
The name of the snapshot to update.
|
String |
getSnapshotId()
The ID of the snapshot that you want to update, in the format
fsvolsnap-0123456789abcdef0 . |
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken) |
void |
setName(String name)
The name of the snapshot to update.
|
void |
setSnapshotId(String snapshotId)
The ID of the snapshot that you want to update, in the format
fsvolsnap-0123456789abcdef0 . |
String |
toString()
Returns a string representation of this object.
|
UpdateSnapshotRequest |
withClientRequestToken(String clientRequestToken) |
UpdateSnapshotRequest |
withName(String name)
The name of the snapshot to update.
|
UpdateSnapshotRequest |
withSnapshotId(String snapshotId)
The ID of the snapshot that you want to update, in the format
fsvolsnap-0123456789abcdef0 . |
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 setClientRequestToken(String clientRequestToken)
clientRequestToken
- public String getClientRequestToken()
public UpdateSnapshotRequest withClientRequestToken(String clientRequestToken)
clientRequestToken
- public void setName(String name)
The name of the snapshot to update.
name
- The name of the snapshot to update.public String getName()
The name of the snapshot to update.
public UpdateSnapshotRequest withName(String name)
The name of the snapshot to update.
name
- The name of the snapshot to update.public void setSnapshotId(String snapshotId)
The ID of the snapshot that you want to update, in the format fsvolsnap-0123456789abcdef0
.
snapshotId
- The ID of the snapshot that you want to update, in the format fsvolsnap-0123456789abcdef0
.public String getSnapshotId()
The ID of the snapshot that you want to update, in the format fsvolsnap-0123456789abcdef0
.
fsvolsnap-0123456789abcdef0
.public UpdateSnapshotRequest withSnapshotId(String snapshotId)
The ID of the snapshot that you want to update, in the format fsvolsnap-0123456789abcdef0
.
snapshotId
- The ID of the snapshot that you want to update, in the format fsvolsnap-0123456789abcdef0
.public String toString()
toString
in class Object
Object.toString()
public UpdateSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()