Class PutAccountDetailsRequest
- 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.PutAccountDetailsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutAccountDetailsRequest.Builder,PutAccountDetailsRequest>
@Generated("software.amazon.awssdk:codegen") public final class PutAccountDetailsRequest extends SesV2Request implements ToCopyableBuilder<PutAccountDetailsRequest.Builder,PutAccountDetailsRequest>
A request to submit new account details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePutAccountDetailsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>additionalContactEmailAddresses()Additional email addresses that you would like to be notified regarding Amazon SES matters.static PutAccountDetailsRequest.Builderbuilder()ContactLanguagecontactLanguage()The language you would prefer to be contacted with.StringcontactLanguageAsString()The language you would prefer to be contacted with.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAdditionalContactEmailAddresses()For responses, this returns true if the service returned a value for the AdditionalContactEmailAddresses property.inthashCode()MailTypemailType()The type of email your account will send.StringmailTypeAsString()The type of email your account will send.BooleanproductionAccessEnabled()Indicates whether or not your account should have production access in the current Amazon Web Services Region.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PutAccountDetailsRequest.Builder>serializableBuilderClass()PutAccountDetailsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuseCaseDescription()A description of the types of email that you plan to send.StringwebsiteURL()The URL of your website.-
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
-
mailType
public final MailType mailType()
The type of email your account will send.
If the service returns an enum value that is not available in the current SDK version,
mailTypewill returnMailType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommailTypeAsString().- Returns:
- The type of email your account will send.
- See Also:
MailType
-
mailTypeAsString
public final String mailTypeAsString()
The type of email your account will send.
If the service returns an enum value that is not available in the current SDK version,
mailTypewill returnMailType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommailTypeAsString().- Returns:
- The type of email your account will send.
- See Also:
MailType
-
websiteURL
public final String websiteURL()
The URL of your website. This information helps us better understand the type of content that you plan to send.
- Returns:
- The URL of your website. This information helps us better understand the type of content that you plan to send.
-
contactLanguage
public final ContactLanguage contactLanguage()
The language you would prefer to be contacted with.
If the service returns an enum value that is not available in the current SDK version,
contactLanguagewill returnContactLanguage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontactLanguageAsString().- Returns:
- The language you would prefer to be contacted with.
- See Also:
ContactLanguage
-
contactLanguageAsString
public final String contactLanguageAsString()
The language you would prefer to be contacted with.
If the service returns an enum value that is not available in the current SDK version,
contactLanguagewill returnContactLanguage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontactLanguageAsString().- Returns:
- The language you would prefer to be contacted with.
- See Also:
ContactLanguage
-
useCaseDescription
public final String useCaseDescription()
A description of the types of email that you plan to send.
- Returns:
- A description of the types of email that you plan to send.
-
hasAdditionalContactEmailAddresses
public final boolean hasAdditionalContactEmailAddresses()
For responses, this returns true if the service returned a value for the AdditionalContactEmailAddresses property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
additionalContactEmailAddresses
public final List<String> additionalContactEmailAddresses()
Additional email addresses that you would like to be notified regarding Amazon SES matters.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAdditionalContactEmailAddresses()method.- Returns:
- Additional email addresses that you would like to be notified regarding Amazon SES matters.
-
productionAccessEnabled
public final Boolean productionAccessEnabled()
Indicates whether or not your account should have production access in the current Amazon Web Services Region.
If the value is
false, then your account is in the sandbox. When your account is in the sandbox, you can only send email to verified identities.If the value is
true, then your account has production access. When your account has production access, you can send email to any address. The sending quota and maximum sending rate for your account vary based on your specific use case.- Returns:
- Indicates whether or not your account should have production access in the current Amazon Web Services
Region.
If the value is
false, then your account is in the sandbox. When your account is in the sandbox, you can only send email to verified identities.If the value is
true, then your account has production access. When your account has production access, you can send email to any address. The sending quota and maximum sending rate for your account vary based on your specific use case.
-
toBuilder
public PutAccountDetailsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutAccountDetailsRequest.Builder,PutAccountDetailsRequest>- Specified by:
toBuilderin classSesV2Request
-
builder
public static PutAccountDetailsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutAccountDetailsRequest.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
-
-