|
|||||||
| 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
| Constructor Summary | |
|---|---|
DescribeSnapshotAttributeResult()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<CreateVolumePermission> |
getCreateVolumePermissions()
A list of permissions for creating volumes from the snapshot. |
java.util.List<ProductCode> |
getProductCodes()
A list of product codes. |
java.lang.String |
getSnapshotId()
The ID of the Amazon EBS snapshot. |
int |
hashCode()
|
void |
setCreateVolumePermissions(java.util.Collection<CreateVolumePermission> createVolumePermissions)
A list of permissions for creating volumes from the snapshot. |
void |
setProductCodes(java.util.Collection<ProductCode> productCodes)
A list of product codes. |
void |
setSnapshotId(java.lang.String snapshotId)
The ID of the Amazon EBS snapshot. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeSnapshotAttributeResult |
withCreateVolumePermissions(java.util.Collection<CreateVolumePermission> createVolumePermissions)
A list of permissions for creating volumes from the snapshot. |
DescribeSnapshotAttributeResult |
withCreateVolumePermissions(CreateVolumePermission... createVolumePermissions)
A list of permissions for creating volumes from the snapshot. |
DescribeSnapshotAttributeResult |
withProductCodes(java.util.Collection<ProductCode> productCodes)
A list of product codes. |
DescribeSnapshotAttributeResult |
withProductCodes(ProductCode... productCodes)
A list of product codes. |
DescribeSnapshotAttributeResult |
withSnapshotId(java.lang.String snapshotId)
The ID of the Amazon EBS snapshot. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DescribeSnapshotAttributeResult()
| Method Detail |
|---|
public java.lang.String getSnapshotId()
public void setSnapshotId(java.lang.String snapshotId)
snapshotId - The ID of the Amazon EBS snapshot.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 Amazon EBS snapshot.
public java.util.List<CreateVolumePermission> getCreateVolumePermissions()
public void setCreateVolumePermissions(java.util.Collection<CreateVolumePermission> createVolumePermissions)
createVolumePermissions - A list of permissions for creating volumes from the snapshot.public DescribeSnapshotAttributeResult withCreateVolumePermissions(CreateVolumePermission... createVolumePermissions)
Returns a reference to this object so that method calls can be chained together.
createVolumePermissions - A list of permissions for creating volumes from the snapshot.
public DescribeSnapshotAttributeResult withCreateVolumePermissions(java.util.Collection<CreateVolumePermission> createVolumePermissions)
Returns a reference to this object so that method calls can be chained together.
createVolumePermissions - A list of permissions for creating volumes from the snapshot.
public java.util.List<ProductCode> getProductCodes()
public void setProductCodes(java.util.Collection<ProductCode> productCodes)
productCodes - A list of product codes.public DescribeSnapshotAttributeResult withProductCodes(ProductCode... productCodes)
Returns a reference to this object so that method calls can be chained together.
productCodes - A list of product codes.
public DescribeSnapshotAttributeResult withProductCodes(java.util.Collection<ProductCode> productCodes)
Returns a reference to this object so that method calls can be chained together.
productCodes - A list of product codes.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||