@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSnapshotsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateSnapshotsRequest>
NOOP
Constructor and Description |
---|
CreateSnapshotsRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSnapshotsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCopyTagsFromSource()
Copies the tags from the specified volume to corresponding snapshot.
|
String |
getDescription()
A description propagated to every snapshot specified by the instance.
|
Request<CreateSnapshotsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
InstanceSpecification |
getInstanceSpecification()
The instance to specify which volumes should be included in the snapshots.
|
List<TagSpecification> |
getTagSpecifications()
Tags to apply to every snapshot specified by the instance.
|
int |
hashCode() |
void |
setCopyTagsFromSource(String copyTagsFromSource)
Copies the tags from the specified volume to corresponding snapshot.
|
void |
setDescription(String description)
A description propagated to every snapshot specified by the instance.
|
void |
setInstanceSpecification(InstanceSpecification instanceSpecification)
The instance to specify which volumes should be included in the snapshots.
|
void |
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
Tags to apply to every snapshot specified by the instance.
|
String |
toString()
Returns a string representation of this object.
|
CreateSnapshotsRequest |
withCopyTagsFromSource(CopyTagsFromSource copyTagsFromSource)
Copies the tags from the specified volume to corresponding snapshot.
|
CreateSnapshotsRequest |
withCopyTagsFromSource(String copyTagsFromSource)
Copies the tags from the specified volume to corresponding snapshot.
|
CreateSnapshotsRequest |
withDescription(String description)
A description propagated to every snapshot specified by the instance.
|
CreateSnapshotsRequest |
withInstanceSpecification(InstanceSpecification instanceSpecification)
The instance to specify which volumes should be included in the snapshots.
|
CreateSnapshotsRequest |
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
Tags to apply to every snapshot specified by the instance.
|
CreateSnapshotsRequest |
withTagSpecifications(TagSpecification... tagSpecifications)
Tags to apply to every snapshot specified by the instance.
|
addHandlerContext, copyBaseTo, 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 setDescription(String description)
A description propagated to every snapshot specified by the instance.
description
- A description propagated to every snapshot specified by the instance.public String getDescription()
A description propagated to every snapshot specified by the instance.
public CreateSnapshotsRequest withDescription(String description)
A description propagated to every snapshot specified by the instance.
description
- A description propagated to every snapshot specified by the instance.public void setInstanceSpecification(InstanceSpecification instanceSpecification)
The instance to specify which volumes should be included in the snapshots.
instanceSpecification
- The instance to specify which volumes should be included in the snapshots.public InstanceSpecification getInstanceSpecification()
The instance to specify which volumes should be included in the snapshots.
public CreateSnapshotsRequest withInstanceSpecification(InstanceSpecification instanceSpecification)
The instance to specify which volumes should be included in the snapshots.
instanceSpecification
- The instance to specify which volumes should be included in the snapshots.public List<TagSpecification> getTagSpecifications()
Tags to apply to every snapshot specified by the instance.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
Tags to apply to every snapshot specified by the instance.
tagSpecifications
- Tags to apply to every snapshot specified by the instance.public CreateSnapshotsRequest withTagSpecifications(TagSpecification... tagSpecifications)
Tags to apply to every snapshot specified by the instance.
NOTE: This method appends the values to the existing list (if any). Use
setTagSpecifications(java.util.Collection)
or withTagSpecifications(java.util.Collection)
if
you want to override the existing values.
tagSpecifications
- Tags to apply to every snapshot specified by the instance.public CreateSnapshotsRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
Tags to apply to every snapshot specified by the instance.
tagSpecifications
- Tags to apply to every snapshot specified by the instance.public void setCopyTagsFromSource(String copyTagsFromSource)
Copies the tags from the specified volume to corresponding snapshot.
copyTagsFromSource
- Copies the tags from the specified volume to corresponding snapshot.CopyTagsFromSource
public String getCopyTagsFromSource()
Copies the tags from the specified volume to corresponding snapshot.
CopyTagsFromSource
public CreateSnapshotsRequest withCopyTagsFromSource(String copyTagsFromSource)
Copies the tags from the specified volume to corresponding snapshot.
copyTagsFromSource
- Copies the tags from the specified volume to corresponding snapshot.CopyTagsFromSource
public CreateSnapshotsRequest withCopyTagsFromSource(CopyTagsFromSource copyTagsFromSource)
Copies the tags from the specified volume to corresponding snapshot.
copyTagsFromSource
- Copies the tags from the specified volume to corresponding snapshot.CopyTagsFromSource
public Request<CreateSnapshotsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateSnapshotsRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateSnapshotsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2020. All rights reserved.