Class Bridge
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconnect.model.Bridge
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Bridge.Builder,Bridge>
@Generated("software.amazon.awssdk:codegen") public final class Bridge extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Bridge.Builder,Bridge>
A Bridge is the connection between your datacenter's Instances and the AWS cloud. A bridge can be used to send video from the AWS cloud to your datacenter or from your datacenter to the AWS cloud.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBridge.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbridgeArn()The Amazon Resource Number (ARN) of the bridge.List<MessageDetail>bridgeMessages()Returns the value of the BridgeMessages property for this object.BridgeStatebridgeState()Returns the value of the BridgeState property for this object.StringbridgeStateAsString()Returns the value of the BridgeState property for this object.static Bridge.Builderbuilder()EgressGatewayBridgeegressGatewayBridge()Returns the value of the EgressGatewayBridge property for this object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasBridgeMessages()For responses, this returns true if the service returned a value for the BridgeMessages property.inthashCode()booleanhasOutputs()For responses, this returns true if the service returned a value for the Outputs property.booleanhasSources()For responses, this returns true if the service returned a value for the Sources property.IngressGatewayBridgeingressGatewayBridge()Returns the value of the IngressGatewayBridge property for this object.Stringname()The name of the bridge.List<BridgeOutput>outputs()The outputs on this bridge.StringplacementArn()The placement Amazon Resource Number (ARN) of the bridge.List<SdkField<?>>sdkFields()static Class<? extends Bridge.Builder>serializableBuilderClass()FailoverConfigsourceFailoverConfig()Returns the value of the SourceFailoverConfig property for this object.List<BridgeSource>sources()The sources on this bridge.Bridge.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
bridgeArn
public final String bridgeArn()
The Amazon Resource Number (ARN) of the bridge.- Returns:
- The Amazon Resource Number (ARN) of the bridge.
-
hasBridgeMessages
public final boolean hasBridgeMessages()
For responses, this returns true if the service returned a value for the BridgeMessages property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
bridgeMessages
public final List<MessageDetail> bridgeMessages()
Returns the value of the BridgeMessages property for this object.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasBridgeMessages()method.- Returns:
- The value of the BridgeMessages property for this object.
-
bridgeState
public final BridgeState bridgeState()
Returns the value of the BridgeState property for this object.If the service returns an enum value that is not available in the current SDK version,
bridgeStatewill returnBridgeState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombridgeStateAsString().- Returns:
- The value of the BridgeState property for this object.
- See Also:
BridgeState
-
bridgeStateAsString
public final String bridgeStateAsString()
Returns the value of the BridgeState property for this object.If the service returns an enum value that is not available in the current SDK version,
bridgeStatewill returnBridgeState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombridgeStateAsString().- Returns:
- The value of the BridgeState property for this object.
- See Also:
BridgeState
-
egressGatewayBridge
public final EgressGatewayBridge egressGatewayBridge()
Returns the value of the EgressGatewayBridge property for this object.- Returns:
- The value of the EgressGatewayBridge property for this object.
-
ingressGatewayBridge
public final IngressGatewayBridge ingressGatewayBridge()
Returns the value of the IngressGatewayBridge property for this object.- Returns:
- The value of the IngressGatewayBridge property for this object.
-
name
public final String name()
The name of the bridge.- Returns:
- The name of the bridge.
-
hasOutputs
public final boolean hasOutputs()
For responses, this returns true if the service returned a value for the Outputs property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
outputs
public final List<BridgeOutput> outputs()
The outputs on this bridge.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasOutputs()method.- Returns:
- The outputs on this bridge.
-
placementArn
public final String placementArn()
The placement Amazon Resource Number (ARN) of the bridge.- Returns:
- The placement Amazon Resource Number (ARN) of the bridge.
-
sourceFailoverConfig
public final FailoverConfig sourceFailoverConfig()
Returns the value of the SourceFailoverConfig property for this object.- Returns:
- The value of the SourceFailoverConfig property for this object.
-
hasSources
public final boolean hasSources()
For responses, this returns true if the service returned a value for the Sources property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
sources
public final List<BridgeSource> sources()
The sources on this bridge.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSources()method.- Returns:
- The sources on this bridge.
-
toBuilder
public Bridge.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Bridge.Builder,Bridge>
-
builder
public static Bridge.Builder builder()
-
serializableBuilderClass
public static Class<? extends Bridge.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-