Class CfnConnectionAliasPropsMixin.ConnectionAliasAssociationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspaces.CfnConnectionAliasPropsMixin.ConnectionAliasAssociationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionAliasPropsMixin.ConnectionAliasAssociationProperty>
- Enclosing interface:
CfnConnectionAliasPropsMixin.ConnectionAliasAssociationProperty
@Stability(Stable)
public static final class CfnConnectionAliasPropsMixin.ConnectionAliasAssociationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionAliasPropsMixin.ConnectionAliasAssociationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassociatedAccountId(String associatedAccountId) associationStatus(String associationStatus) build()Builds the configured instance.connectionIdentifier(String connectionIdentifier) resourceId(String resourceId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
associatedAccountId
@Stability(Stable) public CfnConnectionAliasPropsMixin.ConnectionAliasAssociationProperty.Builder associatedAccountId(String associatedAccountId) Sets the value ofCfnConnectionAliasPropsMixin.ConnectionAliasAssociationProperty.getAssociatedAccountId()- Parameters:
associatedAccountId- The identifier of the AWS account that associated the connection alias with a directory.- Returns:
this
-
associationStatus
@Stability(Stable) public CfnConnectionAliasPropsMixin.ConnectionAliasAssociationProperty.Builder associationStatus(String associationStatus) Sets the value ofCfnConnectionAliasPropsMixin.ConnectionAliasAssociationProperty.getAssociationStatus()- Parameters:
associationStatus- The association status of the connection alias.- Returns:
this
-
connectionIdentifier
@Stability(Stable) public CfnConnectionAliasPropsMixin.ConnectionAliasAssociationProperty.Builder connectionIdentifier(String connectionIdentifier) Sets the value ofCfnConnectionAliasPropsMixin.ConnectionAliasAssociationProperty.getConnectionIdentifier()- Parameters:
connectionIdentifier- The identifier of the connection alias association. You use the connection identifier in the DNS TXT record when you're configuring your DNS routing policies.- Returns:
this
-
resourceId
@Stability(Stable) public CfnConnectionAliasPropsMixin.ConnectionAliasAssociationProperty.Builder resourceId(String resourceId) - Parameters:
resourceId- The identifier of the directory associated with a connection alias.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectionAliasPropsMixin.ConnectionAliasAssociationProperty>- Returns:
- a new instance of
CfnConnectionAliasPropsMixin.ConnectionAliasAssociationProperty - Throws:
NullPointerException- if any required attribute was not provided
-