@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DisableSnapshotBlockPublicAccessResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DisableSnapshotBlockPublicAccessResult() |
Modifier and Type | Method and Description |
---|---|
DisableSnapshotBlockPublicAccessResult |
clone() |
boolean |
equals(Object obj) |
String |
getState()
Returns
unblocked if the request succeeds. |
int |
hashCode() |
void |
setState(String state)
Returns
unblocked if the request succeeds. |
String |
toString()
Returns a string representation of this object.
|
DisableSnapshotBlockPublicAccessResult |
withState(SnapshotBlockPublicAccessState state)
Returns
unblocked if the request succeeds. |
DisableSnapshotBlockPublicAccessResult |
withState(String state)
Returns
unblocked if the request succeeds. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DisableSnapshotBlockPublicAccessResult()
public void setState(String state)
Returns unblocked
if the request succeeds.
state
- Returns unblocked
if the request succeeds.SnapshotBlockPublicAccessState
public String getState()
Returns unblocked
if the request succeeds.
unblocked
if the request succeeds.SnapshotBlockPublicAccessState
public DisableSnapshotBlockPublicAccessResult withState(String state)
Returns unblocked
if the request succeeds.
state
- Returns unblocked
if the request succeeds.SnapshotBlockPublicAccessState
public DisableSnapshotBlockPublicAccessResult withState(SnapshotBlockPublicAccessState state)
Returns unblocked
if the request succeeds.
state
- Returns unblocked
if the request succeeds.SnapshotBlockPublicAccessState
public String toString()
toString
in class Object
Object.toString()
public DisableSnapshotBlockPublicAccessResult clone()