Class BridgeAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.alpha.BridgeAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BridgeAttributes>
- Enclosing interface:
BridgeAttributes
@Stability(Experimental)
public static final class BridgeAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<BridgeAttributes>
A builder for
BridgeAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofBridgeAttributes.getBridgeArn()bridgeName(String bridgeName) Sets the value ofBridgeAttributes.getBridgeName()bridgeType(BridgeType bridgeType) Sets the value ofBridgeAttributes.getBridgeType()build()Builds the configured instance.isFailoverEnabled(Boolean isFailoverEnabled) Sets the value ofBridgeAttributes.getIsFailoverEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bridgeArn
Sets the value ofBridgeAttributes.getBridgeArn()- Parameters:
bridgeArn- The ARN of the bridge. This parameter is required.- Returns:
this
-
bridgeName
Sets the value ofBridgeAttributes.getBridgeName()- Parameters:
bridgeName- The name of the bridge. Not encoded in the bridge ARN, so must be provided explicitly if the imported bridge needs to exposebridgeName.- Returns:
this
-
bridgeType
Sets the value ofBridgeAttributes.getBridgeType()- Parameters:
bridgeType- Indicates what type of bridge is imported. Not encoded in the bridge ARN, so must be provided explicitly if the imported bridge is used withaddOutput()or other methods that need the bridge type.- Returns:
this
-
isFailoverEnabled
@Stability(Experimental) public BridgeAttributes.Builder isFailoverEnabled(Boolean isFailoverEnabled) Sets the value ofBridgeAttributes.getIsFailoverEnabled()- Parameters:
isFailoverEnabled- Failover Configuration for Bridge.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BridgeAttributes>- Returns:
- a new instance of
BridgeAttributes - Throws:
NullPointerException- if any required attribute was not provided
-