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