public class DescribeSnapshotAttributeResult
extends java.lang.Object
implements java.io.Serializable
The result of describing an EBS snapshot attribute.
| コンストラクタと説明 |
|---|
DescribeSnapshotAttributeResult() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<CreateVolumePermission> |
getCreateVolumePermissions()
The list of permissions describing who can create a volume from the
associated EBS snapshot.
|
java.util.List<ProductCode> |
getProductCodes()
Returns the value of the ProductCodes property for this object.
|
java.lang.String |
getSnapshotId()
The ID of the snapshot whose attribute is being described.
|
int |
hashCode() |
void |
setCreateVolumePermissions(java.util.Collection<CreateVolumePermission> createVolumePermissions)
The list of permissions describing who can create a volume from the
associated EBS snapshot.
|
void |
setProductCodes(java.util.Collection<ProductCode> productCodes)
Sets the value of the ProductCodes property for this object.
|
void |
setSnapshotId(java.lang.String snapshotId)
The ID of the snapshot whose attribute is being described.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSnapshotAttributeResult |
withCreateVolumePermissions(java.util.Collection<CreateVolumePermission> createVolumePermissions)
The list of permissions describing who can create a volume from the
associated EBS snapshot.
|
DescribeSnapshotAttributeResult |
withCreateVolumePermissions(CreateVolumePermission... createVolumePermissions)
The list of permissions describing who can create a volume from the
associated EBS snapshot.
|
DescribeSnapshotAttributeResult |
withProductCodes(java.util.Collection<ProductCode> productCodes)
Sets the value of the ProductCodes property for this object.
|
DescribeSnapshotAttributeResult |
withProductCodes(ProductCode... productCodes)
Sets the value of the ProductCodes property for this object.
|
DescribeSnapshotAttributeResult |
withSnapshotId(java.lang.String snapshotId)
The ID of the snapshot whose attribute is being described.
|
public java.lang.String getSnapshotId()
public void setSnapshotId(java.lang.String snapshotId)
snapshotId - The ID of the snapshot whose attribute is being described.public DescribeSnapshotAttributeResult withSnapshotId(java.lang.String snapshotId)
Returns a reference to this object so that method calls can be chained together.
snapshotId - The ID of the snapshot whose attribute is being described.public java.util.List<CreateVolumePermission> getCreateVolumePermissions()
Only available if the createVolumePermission attribute is requested.
Only available if the createVolumePermission attribute is requested.
public void setCreateVolumePermissions(java.util.Collection<CreateVolumePermission> createVolumePermissions)
Only available if the createVolumePermission attribute is requested.
createVolumePermissions - The list of permissions describing who can create a volume from the
associated EBS snapshot. Only available if the createVolumePermission attribute is requested.
public DescribeSnapshotAttributeResult withCreateVolumePermissions(CreateVolumePermission... createVolumePermissions)
Only available if the createVolumePermission attribute is requested.
Returns a reference to this object so that method calls can be chained together.
createVolumePermissions - The list of permissions describing who can create a volume from the
associated EBS snapshot. Only available if the createVolumePermission attribute is requested.
public DescribeSnapshotAttributeResult withCreateVolumePermissions(java.util.Collection<CreateVolumePermission> createVolumePermissions)
Only available if the createVolumePermission attribute is requested.
Returns a reference to this object so that method calls can be chained together.
createVolumePermissions - The list of permissions describing who can create a volume from the
associated EBS snapshot. Only available if the createVolumePermission attribute is requested.
public java.util.List<ProductCode> getProductCodes()
public void setProductCodes(java.util.Collection<ProductCode> productCodes)
productCodes - The new value for the ProductCodes property for this object.public DescribeSnapshotAttributeResult withProductCodes(ProductCode... productCodes)
Returns a reference to this object so that method calls can be chained together.
productCodes - The new value for the ProductCodes property for this object.public DescribeSnapshotAttributeResult withProductCodes(java.util.Collection<ProductCode> productCodes)
Returns a reference to this object so that method calls can be chained together.
productCodes - The new value for the ProductCodes property for this object.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object