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