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