@Generated(value="software.amazon.awssdk:codegen") public final class EnableImageBlockPublicAccessResponse extends Ec2Response implements ToCopyableBuilder<EnableImageBlockPublicAccessResponse.Builder,EnableImageBlockPublicAccessResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
EnableImageBlockPublicAccessResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EnableImageBlockPublicAccessResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ImageBlockPublicAccessEnabledState |
imageBlockPublicAccessState()
Returns
block-new-sharing if the request succeeds; otherwise, it returns an error. |
String |
imageBlockPublicAccessStateAsString()
Returns
block-new-sharing if the request succeeds; otherwise, it returns an error. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends EnableImageBlockPublicAccessResponse.Builder> |
serializableBuilderClass() |
EnableImageBlockPublicAccessResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ImageBlockPublicAccessEnabledState imageBlockPublicAccessState()
Returns block-new-sharing if the request succeeds; otherwise, it returns an error.
If the service returns an enum value that is not available in the current SDK version,
imageBlockPublicAccessState will return
ImageBlockPublicAccessEnabledState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from imageBlockPublicAccessStateAsString().
block-new-sharing if the request succeeds; otherwise, it returns an error.ImageBlockPublicAccessEnabledStatepublic final String imageBlockPublicAccessStateAsString()
Returns block-new-sharing if the request succeeds; otherwise, it returns an error.
If the service returns an enum value that is not available in the current SDK version,
imageBlockPublicAccessState will return
ImageBlockPublicAccessEnabledState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from imageBlockPublicAccessStateAsString().
block-new-sharing if the request succeeds; otherwise, it returns an error.ImageBlockPublicAccessEnabledStatepublic EnableImageBlockPublicAccessResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EnableImageBlockPublicAccessResponse.Builder,EnableImageBlockPublicAccessResponse>toBuilder in class AwsResponsepublic static EnableImageBlockPublicAccessResponse.Builder builder()
public static Class<? extends EnableImageBlockPublicAccessResponse.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.