Class UpdateReputationEntityCustomerManagedStatusRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.sesv2.model.SesV2Request
-
- software.amazon.awssdk.services.sesv2.model.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateReputationEntityCustomerManagedStatusRequest.Builder
-
Method Summary
-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
reputationEntityType
public final ReputationEntityType reputationEntityType()
The type of reputation entity. Currently, only
RESOURCEtype entities are supported.If the service returns an enum value that is not available in the current SDK version,
reputationEntityTypewill returnReputationEntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreputationEntityTypeAsString().- Returns:
- The type of reputation entity. Currently, only
RESOURCEtype entities are supported. - See Also:
ReputationEntityType
-
reputationEntityTypeAsString
public final String reputationEntityTypeAsString()
The type of reputation entity. Currently, only
RESOURCEtype entities are supported.If the service returns an enum value that is not available in the current SDK version,
reputationEntityTypewill returnReputationEntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreputationEntityTypeAsString().- Returns:
- The type of reputation entity. Currently, only
RESOURCEtype entities are supported. - See Also:
ReputationEntityType
-
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,
sendingStatuswill returnSendingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsendingStatusAsString().- 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:
SendingStatus
-
-
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,
sendingStatuswill returnSendingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsendingStatusAsString().- 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:
SendingStatus
-
-
toBuilder
public UpdateReputationEntityCustomerManagedStatusRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateReputationEntityCustomerManagedStatusRequest.Builder,UpdateReputationEntityCustomerManagedStatusRequest>- Specified by:
toBuilderin classSesV2Request
-
builder
public static UpdateReputationEntityCustomerManagedStatusRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateReputationEntityCustomerManagedStatusRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-