Class InputDeviceSummary
- java.lang.Object
-
- software.amazon.awssdk.services.medialive.model.InputDeviceSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InputDeviceSummary.Builder,InputDeviceSummary>
@Generated("software.amazon.awssdk:codegen") public final class InputDeviceSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InputDeviceSummary.Builder,InputDeviceSummary>
Details of the input device.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInputDeviceSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The unique ARN of the input device.StringavailabilityZone()The Availability Zone associated with this input device.static InputDeviceSummary.Builderbuilder()InputDeviceConnectionStateconnectionState()The state of the connection between the input device and AWS.StringconnectionStateAsString()The state of the connection between the input device and AWS.DeviceSettingsSyncStatedeviceSettingsSyncState()The status of the action to synchronize the device configuration.StringdeviceSettingsSyncStateAsString()The status of the action to synchronize the device configuration.DeviceUpdateStatusdeviceUpdateStatus()The status of software on the input device.StringdeviceUpdateStatusAsString()The status of software on the input device.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasMedialiveInputArns()For responses, this returns true if the service returned a value for the MedialiveInputArns property.booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.InputDeviceHdSettingshdDeviceSettings()Settings that describe an input device that is type HD.Stringid()The unique ID of the input device.StringmacAddress()The network MAC address of the input device.List<String>medialiveInputArns()An array of the ARNs for the MediaLive inputs attached to the device.Stringname()A name that you specify for the input device.InputDeviceNetworkSettingsnetworkSettings()Network settings for the input device.InputDeviceOutputTypeoutputType()The output attachment type of the input device.StringoutputTypeAsString()The output attachment type of the input device.List<SdkField<?>>sdkFields()static Class<? extends InputDeviceSummary.Builder>serializableBuilderClass()StringserialNumber()The unique serial number of the input device.Map<String,String>tags()A collection of key-value pairs.InputDeviceSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.InputDeviceTypetype()The type of the input device.StringtypeAsString()The type of the input device.InputDeviceUhdSettingsuhdDeviceSettings()Settings that describe an input device that is type UHD.-
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
-
arn
public final String arn()
The unique ARN of the input device.- Returns:
- The unique ARN of the input device.
-
connectionState
public final InputDeviceConnectionState connectionState()
The state of the connection between the input device and AWS.If the service returns an enum value that is not available in the current SDK version,
connectionStatewill returnInputDeviceConnectionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectionStateAsString().- Returns:
- The state of the connection between the input device and AWS.
- See Also:
InputDeviceConnectionState
-
connectionStateAsString
public final String connectionStateAsString()
The state of the connection between the input device and AWS.If the service returns an enum value that is not available in the current SDK version,
connectionStatewill returnInputDeviceConnectionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconnectionStateAsString().- Returns:
- The state of the connection between the input device and AWS.
- See Also:
InputDeviceConnectionState
-
deviceSettingsSyncState
public final DeviceSettingsSyncState deviceSettingsSyncState()
The status of the action to synchronize the device configuration. If you change the configuration of the input device (for example, the maximum bitrate), MediaLive sends the new data to the device. The device might not update itself immediately. SYNCED means the device has updated its configuration. SYNCING means that it has not updated its configuration.If the service returns an enum value that is not available in the current SDK version,
deviceSettingsSyncStatewill returnDeviceSettingsSyncState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeviceSettingsSyncStateAsString().- Returns:
- The status of the action to synchronize the device configuration. If you change the configuration of the input device (for example, the maximum bitrate), MediaLive sends the new data to the device. The device might not update itself immediately. SYNCED means the device has updated its configuration. SYNCING means that it has not updated its configuration.
- See Also:
DeviceSettingsSyncState
-
deviceSettingsSyncStateAsString
public final String deviceSettingsSyncStateAsString()
The status of the action to synchronize the device configuration. If you change the configuration of the input device (for example, the maximum bitrate), MediaLive sends the new data to the device. The device might not update itself immediately. SYNCED means the device has updated its configuration. SYNCING means that it has not updated its configuration.If the service returns an enum value that is not available in the current SDK version,
deviceSettingsSyncStatewill returnDeviceSettingsSyncState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeviceSettingsSyncStateAsString().- Returns:
- The status of the action to synchronize the device configuration. If you change the configuration of the input device (for example, the maximum bitrate), MediaLive sends the new data to the device. The device might not update itself immediately. SYNCED means the device has updated its configuration. SYNCING means that it has not updated its configuration.
- See Also:
DeviceSettingsSyncState
-
deviceUpdateStatus
public final DeviceUpdateStatus deviceUpdateStatus()
The status of software on the input device.If the service returns an enum value that is not available in the current SDK version,
deviceUpdateStatuswill returnDeviceUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeviceUpdateStatusAsString().- Returns:
- The status of software on the input device.
- See Also:
DeviceUpdateStatus
-
deviceUpdateStatusAsString
public final String deviceUpdateStatusAsString()
The status of software on the input device.If the service returns an enum value that is not available in the current SDK version,
deviceUpdateStatuswill returnDeviceUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeviceUpdateStatusAsString().- Returns:
- The status of software on the input device.
- See Also:
DeviceUpdateStatus
-
hdDeviceSettings
public final InputDeviceHdSettings hdDeviceSettings()
Settings that describe an input device that is type HD.- Returns:
- Settings that describe an input device that is type HD.
-
id
public final String id()
The unique ID of the input device.- Returns:
- The unique ID of the input device.
-
macAddress
public final String macAddress()
The network MAC address of the input device.- Returns:
- The network MAC address of the input device.
-
name
public final String name()
A name that you specify for the input device.- Returns:
- A name that you specify for the input device.
-
networkSettings
public final InputDeviceNetworkSettings networkSettings()
Network settings for the input device.- Returns:
- Network settings for the input device.
-
serialNumber
public final String serialNumber()
The unique serial number of the input device.- Returns:
- The unique serial number of the input device.
-
type
public final InputDeviceType type()
The type of the input device.If the service returns an enum value that is not available in the current SDK version,
typewill returnInputDeviceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the input device.
- See Also:
InputDeviceType
-
typeAsString
public final String typeAsString()
The type of the input device.If the service returns an enum value that is not available in the current SDK version,
typewill returnInputDeviceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the input device.
- See Also:
InputDeviceType
-
uhdDeviceSettings
public final InputDeviceUhdSettings uhdDeviceSettings()
Settings that describe an input device that is type UHD.- Returns:
- Settings that describe an input device that is type UHD.
-
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
public final Map<String,String> tags()
A collection of key-value pairs.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:
- A collection of key-value pairs.
-
availabilityZone
public final String availabilityZone()
The Availability Zone associated with this input device.- Returns:
- The Availability Zone associated with this input device.
-
hasMedialiveInputArns
public final boolean hasMedialiveInputArns()
For responses, this returns true if the service returned a value for the MedialiveInputArns 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.
-
medialiveInputArns
public final List<String> medialiveInputArns()
An array of the ARNs for the MediaLive inputs attached to the device. Returned only if the outputType is MEDIALIVE_INPUT.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
hasMedialiveInputArns()method.- Returns:
- An array of the ARNs for the MediaLive inputs attached to the device. Returned only if the outputType is MEDIALIVE_INPUT.
-
outputType
public final InputDeviceOutputType outputType()
The output attachment type of the input device. Specifies MEDIACONNECT_FLOW if this device is the source for a MediaConnect flow. Specifies MEDIALIVE_INPUT if this device is the source for a MediaLive input.If the service returns an enum value that is not available in the current SDK version,
outputTypewill returnInputDeviceOutputType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoutputTypeAsString().- Returns:
- The output attachment type of the input device. Specifies MEDIACONNECT_FLOW if this device is the source for a MediaConnect flow. Specifies MEDIALIVE_INPUT if this device is the source for a MediaLive input.
- See Also:
InputDeviceOutputType
-
outputTypeAsString
public final String outputTypeAsString()
The output attachment type of the input device. Specifies MEDIACONNECT_FLOW if this device is the source for a MediaConnect flow. Specifies MEDIALIVE_INPUT if this device is the source for a MediaLive input.If the service returns an enum value that is not available in the current SDK version,
outputTypewill returnInputDeviceOutputType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoutputTypeAsString().- Returns:
- The output attachment type of the input device. Specifies MEDIACONNECT_FLOW if this device is the source for a MediaConnect flow. Specifies MEDIALIVE_INPUT if this device is the source for a MediaLive input.
- See Also:
InputDeviceOutputType
-
toBuilder
public InputDeviceSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InputDeviceSummary.Builder,InputDeviceSummary>
-
builder
public static InputDeviceSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends InputDeviceSummary.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.
-
-