Class ServiceNetworkResourceAssociationReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.vpclattice.ServiceNetworkResourceAssociationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ServiceNetworkResourceAssociationReference>
- Enclosing interface:
ServiceNetworkResourceAssociationReference
@Stability(Stable)
public static final class ServiceNetworkResourceAssociationReference.Builder
extends Object
implements software.amazon.jsii.Builder<ServiceNetworkResourceAssociationReference>
A builder for
ServiceNetworkResourceAssociationReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.serviceNetworkResourceAssociationArn(String serviceNetworkResourceAssociationArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
serviceNetworkResourceAssociationArn
@Stability(Stable) public ServiceNetworkResourceAssociationReference.Builder serviceNetworkResourceAssociationArn(String serviceNetworkResourceAssociationArn) Sets the value ofServiceNetworkResourceAssociationReference.getServiceNetworkResourceAssociationArn()- Parameters:
serviceNetworkResourceAssociationArn- The Arn of the ServiceNetworkResourceAssociation resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ServiceNetworkResourceAssociationReference>- Returns:
- a new instance of
ServiceNetworkResourceAssociationReference - Throws:
NullPointerException- if any required attribute was not provided
-