@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartSnapshotResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
StartSnapshotResult() |
Modifier and Type | Method and Description |
---|---|
StartSnapshotResult |
clone() |
boolean |
equals(Object obj) |
Integer |
getBlockSize()
The size of the blocks in the snapshot, in bytes.
|
String |
getDescription()
The description of the snapshot.
|
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.
|
String |
getOwnerId()
The Amazon Web Services account ID of the snapshot owner.
|
String |
getParentSnapshotId()
The ID of the parent snapshot.
|
String |
getSnapshotId()
The ID of the snapshot.
|
String |
getSseType()
Reserved for future use.
|
Date |
getStartTime()
The timestamp when the snapshot was created.
|
String |
getStatus()
The status of the snapshot.
|
List<Tag> |
getTags()
The tags applied to the snapshot.
|
Long |
getVolumeSize()
The size of the volume, in GiB.
|
int |
hashCode() |
void |
setBlockSize(Integer blockSize)
The size of the blocks in the snapshot, in bytes.
|
void |
setDescription(String description)
The description of the snapshot.
|
void |
setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.
|
void |
setOwnerId(String ownerId)
The Amazon Web Services account ID of the snapshot owner.
|
void |
setParentSnapshotId(String parentSnapshotId)
The ID of the parent snapshot.
|
void |
setSnapshotId(String snapshotId)
The ID of the snapshot.
|
void |
setSseType(String sseType)
Reserved for future use.
|
void |
setStartTime(Date startTime)
The timestamp when the snapshot was created.
|
void |
setStatus(String status)
The status of the snapshot.
|
void |
setTags(Collection<Tag> tags)
The tags applied to the snapshot.
|
void |
setVolumeSize(Long volumeSize)
The size of the volume, in GiB.
|
String |
toString()
Returns a string representation of this object.
|
StartSnapshotResult |
withBlockSize(Integer blockSize)
The size of the blocks in the snapshot, in bytes.
|
StartSnapshotResult |
withDescription(String description)
The description of the snapshot.
|
StartSnapshotResult |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.
|
StartSnapshotResult |
withOwnerId(String ownerId)
The Amazon Web Services account ID of the snapshot owner.
|
StartSnapshotResult |
withParentSnapshotId(String parentSnapshotId)
The ID of the parent snapshot.
|
StartSnapshotResult |
withSnapshotId(String snapshotId)
The ID of the snapshot.
|
StartSnapshotResult |
withSseType(SSEType sseType)
Reserved for future use.
|
StartSnapshotResult |
withSseType(String sseType)
Reserved for future use.
|
StartSnapshotResult |
withStartTime(Date startTime)
The timestamp when the snapshot was created.
|
StartSnapshotResult |
withStatus(Status status)
The status of the snapshot.
|
StartSnapshotResult |
withStatus(String status)
The status of the snapshot.
|
StartSnapshotResult |
withTags(Collection<Tag> tags)
The tags applied to the snapshot.
|
StartSnapshotResult |
withTags(Tag... tags)
The tags applied to the snapshot.
|
StartSnapshotResult |
withVolumeSize(Long volumeSize)
The size of the volume, in GiB.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDescription(String description)
The description of the snapshot.
description
- The description of the snapshot.public String getDescription()
The description of the snapshot.
public StartSnapshotResult withDescription(String description)
The description of the snapshot.
description
- The description of the snapshot.public void setSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId
- The ID of the snapshot.public String getSnapshotId()
The ID of the snapshot.
public StartSnapshotResult withSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId
- The ID of the snapshot.public void setOwnerId(String ownerId)
The Amazon Web Services account ID of the snapshot owner.
ownerId
- The Amazon Web Services account ID of the snapshot owner.public String getOwnerId()
The Amazon Web Services account ID of the snapshot owner.
public StartSnapshotResult withOwnerId(String ownerId)
The Amazon Web Services account ID of the snapshot owner.
ownerId
- The Amazon Web Services account ID of the snapshot owner.public void setStatus(String status)
The status of the snapshot.
status
- The status of the snapshot.Status
public String getStatus()
The status of the snapshot.
Status
public StartSnapshotResult withStatus(String status)
The status of the snapshot.
status
- The status of the snapshot.Status
public StartSnapshotResult withStatus(Status status)
The status of the snapshot.
status
- The status of the snapshot.Status
public void setStartTime(Date startTime)
The timestamp when the snapshot was created.
startTime
- The timestamp when the snapshot was created.public Date getStartTime()
The timestamp when the snapshot was created.
public StartSnapshotResult withStartTime(Date startTime)
The timestamp when the snapshot was created.
startTime
- The timestamp when the snapshot was created.public void setVolumeSize(Long volumeSize)
The size of the volume, in GiB.
volumeSize
- The size of the volume, in GiB.public Long getVolumeSize()
The size of the volume, in GiB.
public StartSnapshotResult withVolumeSize(Long volumeSize)
The size of the volume, in GiB.
volumeSize
- The size of the volume, in GiB.public void setBlockSize(Integer blockSize)
The size of the blocks in the snapshot, in bytes.
blockSize
- The size of the blocks in the snapshot, in bytes.public Integer getBlockSize()
The size of the blocks in the snapshot, in bytes.
public StartSnapshotResult withBlockSize(Integer blockSize)
The size of the blocks in the snapshot, in bytes.
blockSize
- The size of the blocks in the snapshot, in bytes.public List<Tag> getTags()
The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see Tagging your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.
public void setTags(Collection<Tag> tags)
The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see Tagging your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.
tags
- The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see Tagging your Amazon EC2
resources in the Amazon Elastic Compute Cloud User Guide.public StartSnapshotResult withTags(Tag... tags)
The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see Tagging your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see Tagging your Amazon EC2
resources in the Amazon Elastic Compute Cloud User Guide.public StartSnapshotResult withTags(Collection<Tag> tags)
The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see Tagging your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.
tags
- The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see Tagging your Amazon EC2
resources in the Amazon Elastic Compute Cloud User Guide.public void setParentSnapshotId(String parentSnapshotId)
The ID of the parent snapshot.
parentSnapshotId
- The ID of the parent snapshot.public String getParentSnapshotId()
The ID of the parent snapshot.
public StartSnapshotResult withParentSnapshotId(String parentSnapshotId)
The ID of the parent snapshot.
parentSnapshotId
- The ID of the parent snapshot.public void setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.
kmsKeyArn
- The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.public String getKmsKeyArn()
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.
public StartSnapshotResult withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.
kmsKeyArn
- The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.public void setSseType(String sseType)
Reserved for future use.
sseType
- Reserved for future use.SSEType
public String getSseType()
Reserved for future use.
SSEType
public StartSnapshotResult withSseType(String sseType)
Reserved for future use.
sseType
- Reserved for future use.SSEType
public StartSnapshotResult withSseType(SSEType sseType)
Reserved for future use.
sseType
- Reserved for future use.SSEType
public String toString()
toString
in class Object
Object.toString()
public StartSnapshotResult clone()