Class CreateMultiRegionEndpointResponse

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<CreateMultiRegionEndpointResponse.Builder,CreateMultiRegionEndpointResponse>

@Generated("software.amazon.awssdk:codegen") public final class CreateMultiRegionEndpointResponse extends SesV2Response implements ToCopyableBuilder<CreateMultiRegionEndpointResponse.Builder,CreateMultiRegionEndpointResponse>

An HTTP 200 response if the request succeeds, or an error message if the request fails.

  • Method Details

    • status

      public final Status status()

      A status of the multi-region endpoint (global-endpoint) right after the create request.

      • CREATING – The resource is being provisioned.

      • READY – The resource is ready to use.

      • FAILED – The resource failed to be provisioned.

      • DELETING – The resource is being deleted as requested.

      If the service returns an enum value that is not available in the current SDK version, status will return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      A status of the multi-region endpoint (global-endpoint) right after the create request.

      • CREATING – The resource is being provisioned.

      • READY – The resource is ready to use.

      • FAILED – The resource failed to be provisioned.

      • DELETING – The resource is being deleted as requested.

      See Also:
    • statusAsString

      public final String statusAsString()

      A status of the multi-region endpoint (global-endpoint) right after the create request.

      • CREATING – The resource is being provisioned.

      • READY – The resource is ready to use.

      • FAILED – The resource failed to be provisioned.

      • DELETING – The resource is being deleted as requested.

      If the service returns an enum value that is not available in the current SDK version, status will return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      A status of the multi-region endpoint (global-endpoint) right after the create request.

      • CREATING – The resource is being provisioned.

      • READY – The resource is ready to use.

      • FAILED – The resource failed to be provisioned.

      • DELETING – The resource is being deleted as requested.

      See Also:
    • endpointId

      public final String endpointId()

      The ID of the multi-region endpoint (global-endpoint).

      Returns:
      The ID of the multi-region endpoint (global-endpoint).
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<CreateMultiRegionEndpointResponse.Builder,CreateMultiRegionEndpointResponse>
      Specified by:
      toBuilder in class AwsResponse
    • builder

    • serializableBuilderClass

      public static Class<? extends CreateMultiRegionEndpointResponse.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsResponse
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsResponse
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkResponse
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo