Interface GetEmailIdentityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetEmailIdentityResponse.Builder,
,GetEmailIdentityResponse> PinpointEmailResponse.Builder
,SdkBuilder<GetEmailIdentityResponse.Builder,
,GetEmailIdentityResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetEmailIdentityResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetEmailIdentityResponse.Builder
dkimAttributes
(Consumer<DkimAttributes.Builder> dkimAttributes) An object that contains information about the DKIM attributes for the identity.dkimAttributes
(DkimAttributes dkimAttributes) An object that contains information about the DKIM attributes for the identity.feedbackForwardingStatus
(Boolean feedbackForwardingStatus) The feedback forwarding configuration for the identity.identityType
(String identityType) The email identity type.identityType
(IdentityType identityType) The email identity type.default GetEmailIdentityResponse.Builder
mailFromAttributes
(Consumer<MailFromAttributes.Builder> mailFromAttributes) An object that contains information about the Mail-From attributes for the email identity.mailFromAttributes
(MailFromAttributes mailFromAttributes) An object that contains information about the Mail-From attributes for the email identity.tags
(Collection<Tag> tags) An array of objects that define the tags (keys and values) that are associated with the email identity.tags
(Consumer<Tag.Builder>... tags) An array of objects that define the tags (keys and values) that are associated with the email identity.An array of objects that define the tags (keys and values) that are associated with the email identity.verifiedForSendingStatus
(Boolean verifiedForSendingStatus) Specifies whether or not the identity is verified.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpointemail.model.PinpointEmailResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
identityType
The email identity type.
- Parameters:
identityType
- The email identity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identityType
The email identity type.
- Parameters:
identityType
- The email identity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
feedbackForwardingStatus
The feedback forwarding configuration for the identity.
If the value is
true
, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.When you set this value to
false
, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic or another event destination. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email notification when these events occur (even if this setting is disabled).- Parameters:
feedbackForwardingStatus
- The feedback forwarding configuration for the identity.If the value is
true
, Amazon Pinpoint sends you email notifications when bounce or complaint events occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the original email.When you set this value to
false
, Amazon Pinpoint sends notifications through other mechanisms, such as by notifying an Amazon SNS topic or another event destination. You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email notification when these events occur (even if this setting is disabled).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verifiedForSendingStatus
Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email from verified email addresses or domains. For more information about verifying identities, see the Amazon Pinpoint User Guide.
- Parameters:
verifiedForSendingStatus
- Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email from verified email addresses or domains. For more information about verifying identities, see the Amazon Pinpoint User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dkimAttributes
An object that contains information about the DKIM attributes for the identity. This object includes the tokens that you use to create the CNAME records that are required to complete the DKIM verification process.
- Parameters:
dkimAttributes
- An object that contains information about the DKIM attributes for the identity. This object includes the tokens that you use to create the CNAME records that are required to complete the DKIM verification process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dkimAttributes
default GetEmailIdentityResponse.Builder dkimAttributes(Consumer<DkimAttributes.Builder> dkimAttributes) An object that contains information about the DKIM attributes for the identity. This object includes the tokens that you use to create the CNAME records that are required to complete the DKIM verification process.
This is a convenience method that creates an instance of theDkimAttributes.Builder
avoiding the need to create one manually viaDkimAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todkimAttributes(DkimAttributes)
.- Parameters:
dkimAttributes
- a consumer that will call methods onDkimAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mailFromAttributes
An object that contains information about the Mail-From attributes for the email identity.
- Parameters:
mailFromAttributes
- An object that contains information about the Mail-From attributes for the email identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mailFromAttributes
default GetEmailIdentityResponse.Builder mailFromAttributes(Consumer<MailFromAttributes.Builder> mailFromAttributes) An object that contains information about the Mail-From attributes for the email identity.
This is a convenience method that creates an instance of theMailFromAttributes.Builder
avoiding the need to create one manually viaMailFromAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomailFromAttributes(MailFromAttributes)
.- Parameters:
mailFromAttributes
- a consumer that will call methods onMailFromAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
An array of objects that define the tags (keys and values) that are associated with the email identity.
- Parameters:
tags
- An array of objects that define the tags (keys and values) that are associated with the email identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of objects that define the tags (keys and values) that are associated with the email identity.
- Parameters:
tags
- An array of objects that define the tags (keys and values) that are associated with the email identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of objects that define the tags (keys and values) that are associated with the email identity.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-