@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestoreSnapshotFromRecycleBinResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
RestoreSnapshotFromRecycleBinResult() |
Modifier and Type | Method and Description |
---|---|
RestoreSnapshotFromRecycleBinResult |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description for the snapshot.
|
Boolean |
getEncrypted()
Indicates whether the snapshot is encrypted.
|
String |
getOutpostArn()
The ARN of the Outpost on which the snapshot is stored.
|
String |
getOwnerId()
The ID of the Amazon Web Services account that owns the EBS snapshot.
|
String |
getProgress()
The progress of the snapshot, as a percentage.
|
String |
getSnapshotId()
The ID of the snapshot.
|
String |
getSseType()
Reserved for future use.
|
Date |
getStartTime()
The time stamp when the snapshot was initiated.
|
String |
getState()
The state of the snapshot.
|
String |
getVolumeId()
The ID of the volume that was used to create the snapshot.
|
Integer |
getVolumeSize()
The size of the volume, in GiB.
|
int |
hashCode() |
Boolean |
isEncrypted()
Indicates whether the snapshot is encrypted.
|
void |
setDescription(String description)
The description for the snapshot.
|
void |
setEncrypted(Boolean encrypted)
Indicates whether the snapshot is encrypted.
|
void |
setOutpostArn(String outpostArn)
The ARN of the Outpost on which the snapshot is stored.
|
void |
setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the EBS snapshot.
|
void |
setProgress(String progress)
The progress of the snapshot, as a percentage.
|
void |
setSnapshotId(String snapshotId)
The ID of the snapshot.
|
void |
setSseType(String sseType)
Reserved for future use.
|
void |
setStartTime(Date startTime)
The time stamp when the snapshot was initiated.
|
void |
setState(String state)
The state of the snapshot.
|
void |
setVolumeId(String volumeId)
The ID of the volume that was used to create the snapshot.
|
void |
setVolumeSize(Integer volumeSize)
The size of the volume, in GiB.
|
String |
toString()
Returns a string representation of this object.
|
RestoreSnapshotFromRecycleBinResult |
withDescription(String description)
The description for the snapshot.
|
RestoreSnapshotFromRecycleBinResult |
withEncrypted(Boolean encrypted)
Indicates whether the snapshot is encrypted.
|
RestoreSnapshotFromRecycleBinResult |
withOutpostArn(String outpostArn)
The ARN of the Outpost on which the snapshot is stored.
|
RestoreSnapshotFromRecycleBinResult |
withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the EBS snapshot.
|
RestoreSnapshotFromRecycleBinResult |
withProgress(String progress)
The progress of the snapshot, as a percentage.
|
RestoreSnapshotFromRecycleBinResult |
withSnapshotId(String snapshotId)
The ID of the snapshot.
|
RestoreSnapshotFromRecycleBinResult |
withSseType(SSEType sseType)
Reserved for future use.
|
RestoreSnapshotFromRecycleBinResult |
withSseType(String sseType)
Reserved for future use.
|
RestoreSnapshotFromRecycleBinResult |
withStartTime(Date startTime)
The time stamp when the snapshot was initiated.
|
RestoreSnapshotFromRecycleBinResult |
withState(SnapshotState state)
The state of the snapshot.
|
RestoreSnapshotFromRecycleBinResult |
withState(String state)
The state of the snapshot.
|
RestoreSnapshotFromRecycleBinResult |
withVolumeId(String volumeId)
The ID of the volume that was used to create the snapshot.
|
RestoreSnapshotFromRecycleBinResult |
withVolumeSize(Integer volumeSize)
The size of the volume, in GiB.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 RestoreSnapshotFromRecycleBinResult withSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId
- The ID of the snapshot.public void setOutpostArn(String outpostArn)
The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the Amazon EBS User Guide.
outpostArn
- The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots
on Outposts in the Amazon EBS User Guide.public String getOutpostArn()
The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the Amazon EBS User Guide.
public RestoreSnapshotFromRecycleBinResult withOutpostArn(String outpostArn)
The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the Amazon EBS User Guide.
outpostArn
- The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots
on Outposts in the Amazon EBS User Guide.public void setDescription(String description)
The description for the snapshot.
description
- The description for the snapshot.public String getDescription()
The description for the snapshot.
public RestoreSnapshotFromRecycleBinResult withDescription(String description)
The description for the snapshot.
description
- The description for the snapshot.public void setEncrypted(Boolean encrypted)
Indicates whether the snapshot is encrypted.
encrypted
- Indicates whether the snapshot is encrypted.public Boolean getEncrypted()
Indicates whether the snapshot is encrypted.
public RestoreSnapshotFromRecycleBinResult withEncrypted(Boolean encrypted)
Indicates whether the snapshot is encrypted.
encrypted
- Indicates whether the snapshot is encrypted.public Boolean isEncrypted()
Indicates whether the snapshot is encrypted.
public void setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the EBS snapshot.
ownerId
- The ID of the Amazon Web Services account that owns the EBS snapshot.public String getOwnerId()
The ID of the Amazon Web Services account that owns the EBS snapshot.
public RestoreSnapshotFromRecycleBinResult withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the EBS snapshot.
ownerId
- The ID of the Amazon Web Services account that owns the EBS snapshot.public void setProgress(String progress)
The progress of the snapshot, as a percentage.
progress
- The progress of the snapshot, as a percentage.public String getProgress()
The progress of the snapshot, as a percentage.
public RestoreSnapshotFromRecycleBinResult withProgress(String progress)
The progress of the snapshot, as a percentage.
progress
- The progress of the snapshot, as a percentage.public void setStartTime(Date startTime)
The time stamp when the snapshot was initiated.
startTime
- The time stamp when the snapshot was initiated.public Date getStartTime()
The time stamp when the snapshot was initiated.
public RestoreSnapshotFromRecycleBinResult withStartTime(Date startTime)
The time stamp when the snapshot was initiated.
startTime
- The time stamp when the snapshot was initiated.public void setState(String state)
The state of the snapshot.
state
- The state of the snapshot.SnapshotState
public String getState()
The state of the snapshot.
SnapshotState
public RestoreSnapshotFromRecycleBinResult withState(String state)
The state of the snapshot.
state
- The state of the snapshot.SnapshotState
public RestoreSnapshotFromRecycleBinResult withState(SnapshotState state)
The state of the snapshot.
state
- The state of the snapshot.SnapshotState
public void setVolumeId(String volumeId)
The ID of the volume that was used to create the snapshot.
volumeId
- The ID of the volume that was used to create the snapshot.public String getVolumeId()
The ID of the volume that was used to create the snapshot.
public RestoreSnapshotFromRecycleBinResult withVolumeId(String volumeId)
The ID of the volume that was used to create the snapshot.
volumeId
- The ID of the volume that was used to create the snapshot.public void setVolumeSize(Integer volumeSize)
The size of the volume, in GiB.
volumeSize
- The size of the volume, in GiB.public Integer getVolumeSize()
The size of the volume, in GiB.
public RestoreSnapshotFromRecycleBinResult withVolumeSize(Integer volumeSize)
The size of the volume, in GiB.
volumeSize
- The size of the volume, in GiB.public void setSseType(String sseType)
Reserved for future use.
sseType
- Reserved for future use.SSEType
public String getSseType()
Reserved for future use.
SSEType
public RestoreSnapshotFromRecycleBinResult withSseType(String sseType)
Reserved for future use.
sseType
- Reserved for future use.SSEType
public RestoreSnapshotFromRecycleBinResult withSseType(SSEType sseType)
Reserved for future use.
sseType
- Reserved for future use.SSEType
public String toString()
toString
in class Object
Object.toString()
public RestoreSnapshotFromRecycleBinResult clone()