Class UpdateReputationEntityCustomerManagedStatusRequest

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

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

Represents a request to update the customer-managed sending status for a reputation entity.

  • Method Details

    • reputationEntityType

      public final ReputationEntityType reputationEntityType()

      The type of reputation entity. Currently, only RESOURCE type entities are supported.

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

      Returns:
      The type of reputation entity. Currently, only RESOURCE type entities are supported.
      See Also:
    • reputationEntityTypeAsString

      public final String reputationEntityTypeAsString()

      The type of reputation entity. Currently, only RESOURCE type entities are supported.

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

      Returns:
      The type of reputation entity. Currently, only RESOURCE type entities are supported.
      See Also:
    • reputationEntityReference

      public final String reputationEntityReference()

      The unique identifier for the reputation entity. For resource-type entities, this is the Amazon Resource Name (ARN) of the resource.

      Returns:
      The unique identifier for the reputation entity. For resource-type entities, this is the Amazon Resource Name (ARN) of the resource.
    • sendingStatus

      public final SendingStatus sendingStatus()

      The new customer-managed sending status for the reputation entity. This can be one of the following:

      • ENABLED – Allow sending for this entity.

      • DISABLED – Prevent sending for this entity.

      • REINSTATED – Allow sending even if there are active reputation findings.

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

      Returns:
      The new customer-managed sending status for the reputation entity. This can be one of the following:

      • ENABLED – Allow sending for this entity.

      • DISABLED – Prevent sending for this entity.

      • REINSTATED – Allow sending even if there are active reputation findings.

      See Also:
    • sendingStatusAsString

      public final String sendingStatusAsString()

      The new customer-managed sending status for the reputation entity. This can be one of the following:

      • ENABLED – Allow sending for this entity.

      • DISABLED – Prevent sending for this entity.

      • REINSTATED – Allow sending even if there are active reputation findings.

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

      Returns:
      The new customer-managed sending status for the reputation entity. This can be one of the following:

      • ENABLED – Allow sending for this entity.

      • DISABLED – Prevent sending for this entity.

      • REINSTATED – Allow sending even if there are active reputation findings.

      See Also:
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<UpdateReputationEntityCustomerManagedStatusRequest.Builder,UpdateReputationEntityCustomerManagedStatusRequest>
      Specified by:
      toBuilder in class SesV2Request
    • builder

    • serializableBuilderClass

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

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

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • 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 SdkRequest
    • 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