public class CreateVolumePermission
extends java.lang.Object
implements java.io.Serializable
Describes a permission allowing either a user or group to create a new EBS volume from a snapshot.
| コンストラクタと説明 |
|---|
CreateVolumePermission() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGroup()
The group that is allowed to create volumes from the snapshot
(currently supports "all").
|
java.lang.String |
getUserId()
The user ID of the user that can create volumes from the snapshot.
|
int |
hashCode() |
void |
setGroup(java.lang.String group)
The group that is allowed to create volumes from the snapshot
(currently supports "all").
|
void |
setUserId(java.lang.String userId)
The user ID of the user that can create volumes from the snapshot.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateVolumePermission |
withGroup(java.lang.String group)
The group that is allowed to create volumes from the snapshot
(currently supports "all").
|
CreateVolumePermission |
withUserId(java.lang.String userId)
The user ID of the user that can create volumes from the snapshot.
|
public java.lang.String getUserId()
public void setUserId(java.lang.String userId)
userId - The user ID of the user that can create volumes from the snapshot.public CreateVolumePermission withUserId(java.lang.String userId)
Returns a reference to this object so that method calls can be chained together.
userId - The user ID of the user that can create volumes from the snapshot.public java.lang.String getGroup()
public void setGroup(java.lang.String group)
group - The group that is allowed to create volumes from the snapshot
(currently supports "all").public CreateVolumePermission withGroup(java.lang.String group)
Returns a reference to this object so that method calls can be chained together.
group - The group that is allowed to create volumes from the snapshot
(currently supports "all").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