|
|||||||
| 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 | |
|---|---|
List<CreateVolumePermission> |
getCreateVolumePermissions()
The list of permissions describing who can create a volume from the associated EBS snapshot. |
String |
getSnapshotId()
The ID of the snapshot whose attribute is being described. |
void |
setCreateVolumePermissions(Collection<CreateVolumePermission> createVolumePermissions)
The list of permissions describing who can create a volume from the associated EBS snapshot. |
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 |
withSnapshotId(String snapshotId)
The ID of the snapshot whose attribute is being described. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, 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 String toString()
toString in class ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||