Class CfnEmailContactPropsMixin.EmailContactProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.notificationscontacts.CfnEmailContactPropsMixin.EmailContactProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEmailContactPropsMixin.EmailContactProperty>
- Enclosing interface:
CfnEmailContactPropsMixin.EmailContactProperty
@Stability(Stable)
public static final class CfnEmailContactPropsMixin.EmailContactProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEmailContactPropsMixin.EmailContactProperty>
A builder for
CfnEmailContactPropsMixin.EmailContactProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnEmailContactPropsMixin.EmailContactProperty.getAddress()Sets the value ofCfnEmailContactPropsMixin.EmailContactProperty.getArn()build()Builds the configured instance.creationTime(String creationTime) Sets the value ofCfnEmailContactPropsMixin.EmailContactProperty.getCreationTime()Sets the value ofCfnEmailContactPropsMixin.EmailContactProperty.getName()Sets the value ofCfnEmailContactPropsMixin.EmailContactProperty.getStatus()updateTime(String updateTime) Sets the value ofCfnEmailContactPropsMixin.EmailContactProperty.getUpdateTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
address
@Stability(Stable) public CfnEmailContactPropsMixin.EmailContactProperty.Builder address(String address) Sets the value ofCfnEmailContactPropsMixin.EmailContactProperty.getAddress()- Parameters:
address- The email address of the contact.- Returns:
this
-
arn
Sets the value ofCfnEmailContactPropsMixin.EmailContactProperty.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of the contact.- Returns:
this
-
creationTime
@Stability(Stable) public CfnEmailContactPropsMixin.EmailContactProperty.Builder creationTime(String creationTime) Sets the value ofCfnEmailContactPropsMixin.EmailContactProperty.getCreationTime()- Parameters:
creationTime- The creation time of theEmailContact.- Returns:
this
-
name
Sets the value ofCfnEmailContactPropsMixin.EmailContactProperty.getName()- Parameters:
name- The name of the contact.- Returns:
this
-
status
@Stability(Stable) public CfnEmailContactPropsMixin.EmailContactProperty.Builder status(String status) Sets the value ofCfnEmailContactPropsMixin.EmailContactProperty.getStatus()- Parameters:
status- The status of the contact. Only activated contacts receive emails.- Returns:
this
-
updateTime
@Stability(Stable) public CfnEmailContactPropsMixin.EmailContactProperty.Builder updateTime(String updateTime) Sets the value ofCfnEmailContactPropsMixin.EmailContactProperty.getUpdateTime()- Parameters:
updateTime- The time theEmailContactwas last updated.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEmailContactPropsMixin.EmailContactProperty>- Returns:
- a new instance of
CfnEmailContactPropsMixin.EmailContactProperty - Throws:
NullPointerException- if any required attribute was not provided
-