Class CfnCoreNetworkPrefixListAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.networkmanager.CfnCoreNetworkPrefixListAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCoreNetworkPrefixListAssociationProps>
- Enclosing interface:
CfnCoreNetworkPrefixListAssociationProps
@Stability(Stable)
public static final class CfnCoreNetworkPrefixListAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCoreNetworkPrefixListAssociationProps>
A builder for
CfnCoreNetworkPrefixListAssociationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.coreNetworkId(String coreNetworkId) Sets the value ofCfnCoreNetworkPrefixListAssociationProps.getCoreNetworkId()prefixListAlias(String prefixListAlias) Sets the value ofCfnCoreNetworkPrefixListAssociationProps.getPrefixListAlias()prefixListArn(String prefixListArn) Sets the value ofCfnCoreNetworkPrefixListAssociationProps.getPrefixListArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
coreNetworkId
@Stability(Stable) public CfnCoreNetworkPrefixListAssociationProps.Builder coreNetworkId(String coreNetworkId) Sets the value ofCfnCoreNetworkPrefixListAssociationProps.getCoreNetworkId()- Parameters:
coreNetworkId- The ID of the core network. This parameter is required.- Returns:
this
-
prefixListAlias
@Stability(Stable) public CfnCoreNetworkPrefixListAssociationProps.Builder prefixListAlias(String prefixListAlias) Sets the value ofCfnCoreNetworkPrefixListAssociationProps.getPrefixListAlias()- Parameters:
prefixListAlias- The alias of the prefix list. This parameter is required.- Returns:
this
-
prefixListArn
@Stability(Stable) public CfnCoreNetworkPrefixListAssociationProps.Builder prefixListArn(String prefixListArn) Sets the value ofCfnCoreNetworkPrefixListAssociationProps.getPrefixListArn()- Parameters:
prefixListArn- The Amazon Resource Name (ARN) of the prefix list. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCoreNetworkPrefixListAssociationProps>- Returns:
- a new instance of
CfnCoreNetworkPrefixListAssociationProps - Throws:
NullPointerException- if any required attribute was not provided
-