Interface EmailContact.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EmailContact.Builder,EmailContact>,SdkBuilder<EmailContact.Builder,EmailContact>,SdkPojo
- Enclosing class:
- EmailContact
public static interface EmailContact.Builder extends SdkPojo, CopyableBuilder<EmailContact.Builder,EmailContact>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EmailContact.Builderaddress(String address)The email address this email contact points to.EmailContact.Builderarn(String arn)The Amazon Resource Name (ARN) of the email contact.EmailContact.BuildercreationTime(Instant creationTime)The creation time of the resource.EmailContact.Buildername(String name)The name of the email contact.EmailContact.Builderstatus(String status)The status of the email contact.EmailContact.Builderstatus(EmailContactStatus status)The status of the email contact.EmailContact.BuilderupdateTime(Instant updateTime)The time the resource was last updated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
arn
EmailContact.Builder arn(String arn)
The Amazon Resource Name (ARN) of the email contact.
- Parameters:
arn- The Amazon Resource Name (ARN) of the email contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
EmailContact.Builder name(String name)
The name of the email contact.
- Parameters:
name- The name of the email contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
EmailContact.Builder address(String address)
The email address this email contact points to. The activation email and any subscribed emails are sent here.
- Parameters:
address- The email address this email contact points to. The activation email and any subscribed emails are sent here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
EmailContact.Builder status(String status)
The status of the email contact. Only activated email contacts receive emails.
- Parameters:
status- The status of the email contact. Only activated email contacts receive emails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EmailContactStatus,EmailContactStatus
-
status
EmailContact.Builder status(EmailContactStatus status)
The status of the email contact. Only activated email contacts receive emails.
- Parameters:
status- The status of the email contact. Only activated email contacts receive emails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EmailContactStatus,EmailContactStatus
-
creationTime
EmailContact.Builder creationTime(Instant creationTime)
The creation time of the resource.
- Parameters:
creationTime- The creation time of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateTime
EmailContact.Builder updateTime(Instant updateTime)
The time the resource was last updated.
- Parameters:
updateTime- The time the resource was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-