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