@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSnapshotBlockPublicAccessStateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSnapshotBlockPublicAccessStateResult() |
Modifier and Type | Method and Description |
---|---|
GetSnapshotBlockPublicAccessStateResult |
clone() |
boolean |
equals(Object obj) |
String |
getState()
The current state of block public access for snapshots.
|
int |
hashCode() |
void |
setState(String state)
The current state of block public access for snapshots.
|
String |
toString()
Returns a string representation of this object.
|
GetSnapshotBlockPublicAccessStateResult |
withState(SnapshotBlockPublicAccessState state)
The current state of block public access for snapshots.
|
GetSnapshotBlockPublicAccessStateResult |
withState(String state)
The current state of block public access for snapshots.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetSnapshotBlockPublicAccessStateResult()
public void setState(String state)
The current state of block public access for snapshots. Possible values include:
block-all-sharing
- All public sharing of snapshots is blocked. Users in the account can't request
new public sharing. Additionally, snapshots that were already publicly shared are treated as private and are not
publicly available.
block-new-sharing
- Only new public sharing of snapshots is blocked. Users in the account can't
request new public sharing. However, snapshots that were already publicly shared, remain publicly available.
unblocked
- Public sharing is not blocked. Users can publicly share snapshots.
state
- The current state of block public access for snapshots. Possible values include:
block-all-sharing
- All public sharing of snapshots is blocked. Users in the account can't
request new public sharing. Additionally, snapshots that were already publicly shared are treated as
private and are not publicly available.
block-new-sharing
- Only new public sharing of snapshots is blocked. Users in the account
can't request new public sharing. However, snapshots that were already publicly shared, remain publicly
available.
unblocked
- Public sharing is not blocked. Users can publicly share snapshots.
SnapshotBlockPublicAccessState
public String getState()
The current state of block public access for snapshots. Possible values include:
block-all-sharing
- All public sharing of snapshots is blocked. Users in the account can't request
new public sharing. Additionally, snapshots that were already publicly shared are treated as private and are not
publicly available.
block-new-sharing
- Only new public sharing of snapshots is blocked. Users in the account can't
request new public sharing. However, snapshots that were already publicly shared, remain publicly available.
unblocked
- Public sharing is not blocked. Users can publicly share snapshots.
block-all-sharing
- All public sharing of snapshots is blocked. Users in the account can't
request new public sharing. Additionally, snapshots that were already publicly shared are treated as
private and are not publicly available.
block-new-sharing
- Only new public sharing of snapshots is blocked. Users in the account
can't request new public sharing. However, snapshots that were already publicly shared, remain publicly
available.
unblocked
- Public sharing is not blocked. Users can publicly share snapshots.
SnapshotBlockPublicAccessState
public GetSnapshotBlockPublicAccessStateResult withState(String state)
The current state of block public access for snapshots. Possible values include:
block-all-sharing
- All public sharing of snapshots is blocked. Users in the account can't request
new public sharing. Additionally, snapshots that were already publicly shared are treated as private and are not
publicly available.
block-new-sharing
- Only new public sharing of snapshots is blocked. Users in the account can't
request new public sharing. However, snapshots that were already publicly shared, remain publicly available.
unblocked
- Public sharing is not blocked. Users can publicly share snapshots.
state
- The current state of block public access for snapshots. Possible values include:
block-all-sharing
- All public sharing of snapshots is blocked. Users in the account can't
request new public sharing. Additionally, snapshots that were already publicly shared are treated as
private and are not publicly available.
block-new-sharing
- Only new public sharing of snapshots is blocked. Users in the account
can't request new public sharing. However, snapshots that were already publicly shared, remain publicly
available.
unblocked
- Public sharing is not blocked. Users can publicly share snapshots.
SnapshotBlockPublicAccessState
public GetSnapshotBlockPublicAccessStateResult withState(SnapshotBlockPublicAccessState state)
The current state of block public access for snapshots. Possible values include:
block-all-sharing
- All public sharing of snapshots is blocked. Users in the account can't request
new public sharing. Additionally, snapshots that were already publicly shared are treated as private and are not
publicly available.
block-new-sharing
- Only new public sharing of snapshots is blocked. Users in the account can't
request new public sharing. However, snapshots that were already publicly shared, remain publicly available.
unblocked
- Public sharing is not blocked. Users can publicly share snapshots.
state
- The current state of block public access for snapshots. Possible values include:
block-all-sharing
- All public sharing of snapshots is blocked. Users in the account can't
request new public sharing. Additionally, snapshots that were already publicly shared are treated as
private and are not publicly available.
block-new-sharing
- Only new public sharing of snapshots is blocked. Users in the account
can't request new public sharing. However, snapshots that were already publicly shared, remain publicly
available.
unblocked
- Public sharing is not blocked. Users can publicly share snapshots.
SnapshotBlockPublicAccessState
public String toString()
toString
in class Object
Object.toString()
public GetSnapshotBlockPublicAccessStateResult clone()