public class ResetSnapshotAttributeRequest extends AmazonWebServiceRequest implements java.io.Serializable
ResetSnapshotAttribute operation.
Resets permission settings for the specified snapshot.
| コンストラクタと説明 |
|---|
ResetSnapshotAttributeRequest()
Default constructor for a new ResetSnapshotAttributeRequest object.
|
ResetSnapshotAttributeRequest(java.lang.String snapshotId,
SnapshotAttributeName attribute)
Constructs a new ResetSnapshotAttributeRequest object.
|
ResetSnapshotAttributeRequest(java.lang.String snapshotId,
java.lang.String attribute)
Constructs a new ResetSnapshotAttributeRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttribute()
The name of the attribute being reset.
|
java.lang.String |
getSnapshotId()
The ID of the snapshot whose attribute is being reset.
|
int |
hashCode() |
void |
setAttribute(SnapshotAttributeName attribute)
The name of the attribute being reset.
|
void |
setAttribute(java.lang.String attribute)
The name of the attribute being reset.
|
void |
setSnapshotId(java.lang.String snapshotId)
The ID of the snapshot whose attribute is being reset.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ResetSnapshotAttributeRequest |
withAttribute(SnapshotAttributeName attribute)
The name of the attribute being reset.
|
ResetSnapshotAttributeRequest |
withAttribute(java.lang.String attribute)
The name of the attribute being reset.
|
ResetSnapshotAttributeRequest |
withSnapshotId(java.lang.String snapshotId)
The ID of the snapshot whose attribute is being reset.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic ResetSnapshotAttributeRequest()
public ResetSnapshotAttributeRequest(java.lang.String snapshotId,
java.lang.String attribute)
snapshotId - The ID of the snapshot whose attribute is being
reset.attribute - The name of the attribute being reset. Available
attribute names: createVolumePermission
public ResetSnapshotAttributeRequest(java.lang.String snapshotId,
SnapshotAttributeName attribute)
snapshotId - The ID of the snapshot whose attribute is being
reset.attribute - The name of the attribute being reset. Available
attribute names: createVolumePermission
public java.lang.String getSnapshotId()
public void setSnapshotId(java.lang.String snapshotId)
snapshotId - The ID of the snapshot whose attribute is being reset.public ResetSnapshotAttributeRequest 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 reset.public java.lang.String getAttribute()
Available attribute names:
createVolumePermission
Constraints:
Allowed Values: productCodes, createVolumePermission
Available attribute names:
createVolumePermission
SnapshotAttributeNamepublic void setAttribute(java.lang.String attribute)
Available attribute names:
createVolumePermission
Constraints:
Allowed Values: productCodes, createVolumePermission
attribute - The name of the attribute being reset. Available attribute names:
createVolumePermission
SnapshotAttributeNamepublic ResetSnapshotAttributeRequest withAttribute(java.lang.String attribute)
Available attribute names:
createVolumePermission
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: productCodes, createVolumePermission
attribute - The name of the attribute being reset. Available attribute names:
createVolumePermission
SnapshotAttributeNamepublic void setAttribute(SnapshotAttributeName attribute)
Available attribute names:
createVolumePermission
Constraints:
Allowed Values: productCodes, createVolumePermission
attribute - The name of the attribute being reset. Available attribute names:
createVolumePermission
SnapshotAttributeNamepublic ResetSnapshotAttributeRequest withAttribute(SnapshotAttributeName attribute)
Available attribute names:
createVolumePermission
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: productCodes, createVolumePermission
attribute - The name of the attribute being reset. Available attribute names:
createVolumePermission
SnapshotAttributeNamepublic 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