@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetImageBlockPublicAccessStateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetImageBlockPublicAccessStateResult() |
Modifier and Type | Method and Description |
---|---|
GetImageBlockPublicAccessStateResult |
clone() |
boolean |
equals(Object obj) |
String |
getImageBlockPublicAccessState()
The current state of block public access for AMIs at the account level in the specified Amazon Web Services
Region.
|
int |
hashCode() |
void |
setImageBlockPublicAccessState(String imageBlockPublicAccessState)
The current state of block public access for AMIs at the account level in the specified Amazon Web Services
Region.
|
String |
toString()
Returns a string representation of this object.
|
GetImageBlockPublicAccessStateResult |
withImageBlockPublicAccessState(String imageBlockPublicAccessState)
The current state of block public access for AMIs at the account level in the specified Amazon Web Services
Region.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetImageBlockPublicAccessStateResult()
public void setImageBlockPublicAccessState(String imageBlockPublicAccessState)
The current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.
Possible values:
block-new-sharing
- Any attempt to publicly share your AMIs in the specified Region is blocked.
unblocked
- Your AMIs in the specified Region can be publicly shared.
imageBlockPublicAccessState
- The current state of block public access for AMIs at the account level in the specified Amazon Web
Services Region.
Possible values:
block-new-sharing
- Any attempt to publicly share your AMIs in the specified Region is
blocked.
unblocked
- Your AMIs in the specified Region can be publicly shared.
public String getImageBlockPublicAccessState()
The current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.
Possible values:
block-new-sharing
- Any attempt to publicly share your AMIs in the specified Region is blocked.
unblocked
- Your AMIs in the specified Region can be publicly shared.
Possible values:
block-new-sharing
- Any attempt to publicly share your AMIs in the specified Region is
blocked.
unblocked
- Your AMIs in the specified Region can be publicly shared.
public GetImageBlockPublicAccessStateResult withImageBlockPublicAccessState(String imageBlockPublicAccessState)
The current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.
Possible values:
block-new-sharing
- Any attempt to publicly share your AMIs in the specified Region is blocked.
unblocked
- Your AMIs in the specified Region can be publicly shared.
imageBlockPublicAccessState
- The current state of block public access for AMIs at the account level in the specified Amazon Web
Services Region.
Possible values:
block-new-sharing
- Any attempt to publicly share your AMIs in the specified Region is
blocked.
unblocked
- Your AMIs in the specified Region can be publicly shared.
public String toString()
toString
in class Object
Object.toString()
public GetImageBlockPublicAccessStateResult clone()