@Generated(value="software.amazon.awssdk:codegen") public final class GetImageBlockPublicAccessStateResponse extends Ec2Response implements ToCopyableBuilder<GetImageBlockPublicAccessStateResponse.Builder,GetImageBlockPublicAccessStateResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetImageBlockPublicAccessStateResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetImageBlockPublicAccessStateResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
imageBlockPublicAccessState()
The current state of block public access for AMIs at the account level in the specified Amazon Web Services
Region.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetImageBlockPublicAccessStateResponse.Builder> |
serializableBuilderClass() |
GetImageBlockPublicAccessStateResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
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 GetImageBlockPublicAccessStateResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetImageBlockPublicAccessStateResponse.Builder,GetImageBlockPublicAccessStateResponse>toBuilder in class AwsResponsepublic static GetImageBlockPublicAccessStateResponse.Builder builder()
public static Class<? extends GetImageBlockPublicAccessStateResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.