Class SourceEndpoint
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SourceEndpoint.Builder,SourceEndpoint>
The details of a source endpoint in MediaConnect, including its configuration, state, and connection details.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The Amazon Resource Name (ARN) of the source endpoint.The details of the resource that is associated with the source endpoint.final StringThe Availability Zone in which the source endpoint is located.final StringThe ID of the Availability Zone in which the source endpoint is located.static SourceEndpoint.Builderbuilder()The configuration settings for the source endpoint.The Amazon Resource Names (ARNs) of the destination endpoints that are connected to the source endpoint.The connection details for the source endpoint.The connection state of the source endpoint.final StringThe connection state of the source endpoint.final InstantThe date and time when the source endpoint was created.final StringThe description of the source endpoint.Returns the value of the EncryptionConfiguration property for this object.final EndpointEncryptionTypeThe type of encryption used for the source endpoint connection.final StringThe type of encryption used for the source endpoint connection.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the ConnectedDestinations property.final inthashCode()final booleanFor responses, this returns true if the service returned a value for the Messages property.final booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.final Stringid()The unique identifier of the source endpoint.final EndpointLifecycleThe entity that manages the lifecycle of the source endpoint.final StringThe entity that manages the lifecycle of the source endpoint.final List<SourceEndpointMessage> messages()The status messages for the source endpoint.final Stringname()The name of the source endpoint.final StringThe name of the Amazon Web Services Region in which the source endpoint is located.The registration state of the source endpoint.final StringThe registration state of the source endpoint.final ResourceShareDetailsReturns the value of the ResourceShareDetails property for this object.final ResourceShareOwnershipIndicates whether this account owns the source endpoint or consumes it from another account through RAM.final StringIndicates whether this account owns the source endpoint or consumes it from another account through RAM.static Class<? extends SourceEndpoint.Builder> final SourceEndpointTypeThe type of the source endpoint.final StringThe type of the source endpoint.tags()The tags associated with the source endpoint.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final InstantThe date and time when the source endpoint was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
The name of the source endpoint.
- Returns:
- The name of the source endpoint.
-
arn
The Amazon Resource Name (ARN) of the source endpoint.
- Returns:
- The Amazon Resource Name (ARN) of the source endpoint.
-
id
The unique identifier of the source endpoint.
- Returns:
- The unique identifier of the source endpoint.
-
description
The description of the source endpoint.
- Returns:
- The description of the source endpoint.
-
regionName
The name of the Amazon Web Services Region in which the source endpoint is located.
- Returns:
- The name of the Amazon Web Services Region in which the source endpoint is located.
-
availabilityZone
The Availability Zone in which the source endpoint is located.
- Returns:
- The Availability Zone in which the source endpoint is located.
-
availabilityZoneId
The ID of the Availability Zone in which the source endpoint is located.
- Returns:
- The ID of the Availability Zone in which the source endpoint is located.
-
createdAt
The date and time when the source endpoint was created.
- Returns:
- The date and time when the source endpoint was created.
-
updatedAt
The date and time when the source endpoint was last updated.
- Returns:
- The date and time when the source endpoint was last updated.
-
lifecycleManagement
The entity that manages the lifecycle of the source endpoint.
If the service returns an enum value that is not available in the current SDK version,
lifecycleManagementwill returnEndpointLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlifecycleManagementAsString().- Returns:
- The entity that manages the lifecycle of the source endpoint.
- See Also:
-
lifecycleManagementAsString
The entity that manages the lifecycle of the source endpoint.
If the service returns an enum value that is not available in the current SDK version,
lifecycleManagementwill returnEndpointLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlifecycleManagementAsString().- Returns:
- The entity that manages the lifecycle of the source endpoint.
- See Also:
-
hasMessages
public final boolean hasMessages()For responses, this returns true if the service returned a value for the Messages 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. -
messages
The status messages for the source endpoint.
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
hasMessages()method.- Returns:
- The status messages for the source endpoint.
-
sourceType
The type of the source endpoint. Valid values include the following:
-
STANDARD– A source endpoint that represents an external source over a standard protocol, such as RTP, RIST, or SRT. -
ROUTER_OUTPUT– A source endpoint that represents a router output.
If the service returns an enum value that is not available in the current SDK version,
sourceTypewill returnSourceEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceTypeAsString().- Returns:
- The type of the source endpoint. Valid values include the following:
-
STANDARD– A source endpoint that represents an external source over a standard protocol, such as RTP, RIST, or SRT. -
ROUTER_OUTPUT– A source endpoint that represents a router output.
-
- See Also:
-
-
sourceTypeAsString
The type of the source endpoint. Valid values include the following:
-
STANDARD– A source endpoint that represents an external source over a standard protocol, such as RTP, RIST, or SRT. -
ROUTER_OUTPUT– A source endpoint that represents a router output.
If the service returns an enum value that is not available in the current SDK version,
sourceTypewill returnSourceEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceTypeAsString().- Returns:
- The type of the source endpoint. Valid values include the following:
-
STANDARD– A source endpoint that represents an external source over a standard protocol, such as RTP, RIST, or SRT. -
ROUTER_OUTPUT– A source endpoint that represents a router output.
-
- See Also:
-
-
configuration
The configuration settings for the source endpoint.
- Returns:
- The configuration settings for the source endpoint.
-
registrationState
The registration state of the source endpoint. Valid values include the following:
-
REGISTERED– The source endpoint is registered and ready to use. -
REGISTERING– MediaConnect is registering the source endpoint. -
DEREGISTERING– MediaConnect is deregistering the source endpoint. -
REGISTRATION_FAILED– MediaConnect couldn't register the source endpoint.
If the service returns an enum value that is not available in the current SDK version,
registrationStatewill returnSourceEndpointRegistrationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromregistrationStateAsString().- Returns:
- The registration state of the source endpoint. Valid values include the following:
-
REGISTERED– The source endpoint is registered and ready to use. -
REGISTERING– MediaConnect is registering the source endpoint. -
DEREGISTERING– MediaConnect is deregistering the source endpoint. -
REGISTRATION_FAILED– MediaConnect couldn't register the source endpoint.
-
- See Also:
-
-
registrationStateAsString
The registration state of the source endpoint. Valid values include the following:
-
REGISTERED– The source endpoint is registered and ready to use. -
REGISTERING– MediaConnect is registering the source endpoint. -
DEREGISTERING– MediaConnect is deregistering the source endpoint. -
REGISTRATION_FAILED– MediaConnect couldn't register the source endpoint.
If the service returns an enum value that is not available in the current SDK version,
registrationStatewill returnSourceEndpointRegistrationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromregistrationStateAsString().- Returns:
- The registration state of the source endpoint. Valid values include the following:
-
REGISTERED– The source endpoint is registered and ready to use. -
REGISTERING– MediaConnect is registering the source endpoint. -
DEREGISTERING– MediaConnect is deregistering the source endpoint. -
REGISTRATION_FAILED– MediaConnect couldn't register the source endpoint.
-
- See Also:
-
-
connectionState
The connection state of the source endpoint. Valid values include the following:
-
CONNECTED– The source endpoint is connected to a destination endpoint. -
DISCONNECTED– The source endpoint isn't connected to a destination endpoint. -
CONNECTING– The source endpoint is connecting to a destination endpoint. -
DISCONNECTING– The source endpoint is disconnecting from a destination endpoint.
If the service returns an enum value that is not available in the current SDK version,
connectionStatewill returnSourceEndpointConnectionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectionStateAsString().- Returns:
- The connection state of the source endpoint. Valid values include the following:
-
CONNECTED– The source endpoint is connected to a destination endpoint. -
DISCONNECTED– The source endpoint isn't connected to a destination endpoint. -
CONNECTING– The source endpoint is connecting to a destination endpoint. -
DISCONNECTING– The source endpoint is disconnecting from a destination endpoint.
-
- See Also:
-
-
connectionStateAsString
The connection state of the source endpoint. Valid values include the following:
-
CONNECTED– The source endpoint is connected to a destination endpoint. -
DISCONNECTED– The source endpoint isn't connected to a destination endpoint. -
CONNECTING– The source endpoint is connecting to a destination endpoint. -
DISCONNECTING– The source endpoint is disconnecting from a destination endpoint.
If the service returns an enum value that is not available in the current SDK version,
connectionStatewill returnSourceEndpointConnectionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectionStateAsString().- Returns:
- The connection state of the source endpoint. Valid values include the following:
-
CONNECTED– The source endpoint is connected to a destination endpoint. -
DISCONNECTED– The source endpoint isn't connected to a destination endpoint. -
CONNECTING– The source endpoint is connecting to a destination endpoint. -
DISCONNECTING– The source endpoint is disconnecting from a destination endpoint.
-
- See Also:
-
-
connectionDetails
The connection details for the source endpoint.
- Returns:
- The connection details for the source endpoint.
-
hasConnectedDestinations
public final boolean hasConnectedDestinations()For responses, this returns true if the service returned a value for the ConnectedDestinations 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. -
connectedDestinations
The Amazon Resource Names (ARNs) of the destination endpoints that are connected to the source endpoint.
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
hasConnectedDestinations()method.- Returns:
- The Amazon Resource Names (ARNs) of the destination endpoints that are connected to the source endpoint.
-
encryptionType
The type of encryption used for the source endpoint connection.
If the service returns an enum value that is not available in the current SDK version,
encryptionTypewill returnEndpointEncryptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionTypeAsString().- Returns:
- The type of encryption used for the source endpoint connection.
- See Also:
-
encryptionTypeAsString
The type of encryption used for the source endpoint connection.
If the service returns an enum value that is not available in the current SDK version,
encryptionTypewill returnEndpointEncryptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionTypeAsString().- Returns:
- The type of encryption used for the source endpoint connection.
- See Also:
-
encryptionConfiguration
Returns the value of the EncryptionConfiguration property for this object.- Returns:
- The value of the EncryptionConfiguration property for this object.
-
associatedResourceDetails
The details of the resource that is associated with the source endpoint.
- Returns:
- The details of the resource that is associated with the source endpoint.
-
hasTags
public final boolean hasTags()For responses, this returns true if the service returned a value for the Tags 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. -
tags
The tags associated with the source endpoint. Each tag is a key-value pair.
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
hasTags()method.- Returns:
- The tags associated with the source endpoint. Each tag is a key-value pair.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SourceEndpoint.Builder,SourceEndpoint> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-