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