|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.DescribeSnapshotAttributeResult
public class DescribeSnapshotAttributeResult
The result of describing an EBS snapshot attribute.
Constructor Summary | |
---|---|
DescribeSnapshotAttributeResult()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<CreateVolumePermission> |
getCreateVolumePermissions()
The list of permissions describing who can create a volume from the associated EBS snapshot. |
List<ProductCode> |
getProductCodes()
Returns the value of the ProductCodes property for this object. |
String |
getSnapshotId()
The ID of the snapshot whose attribute is being described. |
int |
hashCode()
|
void |
setCreateVolumePermissions(Collection<CreateVolumePermission> createVolumePermissions)
The list of permissions describing who can create a volume from the associated EBS snapshot. |
void |
setProductCodes(Collection<ProductCode> productCodes)
Sets the value of the ProductCodes property for this object. |
void |
setSnapshotId(String snapshotId)
The ID of the snapshot whose attribute is being described. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeSnapshotAttributeResult |
withCreateVolumePermissions(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(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(String snapshotId)
The ID of the snapshot whose attribute is being described. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeSnapshotAttributeResult()
Method Detail |
---|
public String getSnapshotId()
public void setSnapshotId(String snapshotId)
snapshotId
- The ID of the snapshot whose attribute is being described.public DescribeSnapshotAttributeResult withSnapshotId(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 List<CreateVolumePermission> getCreateVolumePermissions()
Only available if the createVolumePermission attribute is requested.
Only available if the createVolumePermission attribute is requested.
public void setCreateVolumePermissions(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(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 List<ProductCode> getProductCodes()
public void setProductCodes(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(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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |