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