Class CfnConnectionAlias.ConnectionAliasAssociationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.workspaces.CfnConnectionAlias.ConnectionAliasAssociationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionAlias.ConnectionAliasAssociationProperty>
- Enclosing interface:
CfnConnectionAlias.ConnectionAliasAssociationProperty
@Stability(Stable)
public static final class CfnConnectionAlias.ConnectionAliasAssociationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionAlias.ConnectionAliasAssociationProperty>
A builder for
CfnConnectionAlias.ConnectionAliasAssociationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassociatedAccountId
(String associatedAccountId) associationStatus
(String associationStatus) build()
Builds the configured instance.connectionIdentifier
(String connectionIdentifier) resourceId
(String resourceId) Sets the value ofCfnConnectionAlias.ConnectionAliasAssociationProperty.getResourceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
associatedAccountId
@Stability(Stable) public CfnConnectionAlias.ConnectionAliasAssociationProperty.Builder associatedAccountId(String associatedAccountId) - Parameters:
associatedAccountId
- The identifier of the AWS account that associated the connection alias with a directory.- Returns:
this
-
associationStatus
@Stability(Stable) public CfnConnectionAlias.ConnectionAliasAssociationProperty.Builder associationStatus(String associationStatus) - Parameters:
associationStatus
- The association status of the connection alias.- Returns:
this
-
connectionIdentifier
@Stability(Stable) public CfnConnectionAlias.ConnectionAliasAssociationProperty.Builder connectionIdentifier(String connectionIdentifier) - 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 CfnConnectionAlias.ConnectionAliasAssociationProperty.Builder resourceId(String resourceId) Sets the value ofCfnConnectionAlias.ConnectionAliasAssociationProperty.getResourceId()
- Parameters:
resourceId
- The identifier of the directory associated with a connection alias.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConnectionAlias.ConnectionAliasAssociationProperty>
- Returns:
- a new instance of
CfnConnectionAlias.ConnectionAliasAssociationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-