Class CfnServiceNetworkResourceAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.vpclattice.CfnServiceNetworkResourceAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceNetworkResourceAssociation>
- Enclosing class:
CfnServiceNetworkResourceAssociation
@Stability(Stable)
public static final class CfnServiceNetworkResourceAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceNetworkResourceAssociation>
A fluent builder for
CfnServiceNetworkResourceAssociation.-
Method Summary
Modifier and TypeMethodDescriptionbuild()resourceConfigurationId(String resourceConfigurationId) The ID of the resource configuration associated with the service network.serviceNetworkId(String serviceNetworkId) The ID of the service network associated with the resource configuration.A key-value pair to associate with a resource.
-
Method Details
-
create
@Stability(Stable) public static CfnServiceNetworkResourceAssociation.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnServiceNetworkResourceAssociation.Builder.
-
resourceConfigurationId
@Stability(Stable) public CfnServiceNetworkResourceAssociation.Builder resourceConfigurationId(String resourceConfigurationId) The ID of the resource configuration associated with the service network.- Parameters:
resourceConfigurationId- The ID of the resource configuration associated with the service network. This parameter is required.- Returns:
this- See Also:
-
serviceNetworkId
@Stability(Stable) public CfnServiceNetworkResourceAssociation.Builder serviceNetworkId(String serviceNetworkId) The ID of the service network associated with the resource configuration.- Parameters:
serviceNetworkId- The ID of the service network associated with the resource configuration. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnServiceNetworkResourceAssociation.Builder tags(List<? extends CfnTag> tags) A key-value pair to associate with a resource.- Parameters:
tags- A key-value pair to associate with a resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceNetworkResourceAssociation>- Returns:
- a newly built instance of
CfnServiceNetworkResourceAssociation.
-