Class RebootInputDeviceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.medialive.model.MediaLiveRequest
-
- software.amazon.awssdk.services.medialive.model.RebootInputDeviceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RebootInputDeviceRequest.Builder,RebootInputDeviceRequest>
@Generated("software.amazon.awssdk:codegen") public final class RebootInputDeviceRequest extends MediaLiveRequest implements ToCopyableBuilder<RebootInputDeviceRequest.Builder,RebootInputDeviceRequest>
A request to reboot an AWS Elemental device.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRebootInputDeviceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RebootInputDeviceRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)RebootInputDeviceForceforce()Force a reboot of an input device.StringforceAsString()Force a reboot of an input device.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinputDeviceId()The unique ID of the input device to reboot.List<SdkField<?>>sdkFields()static Class<? extends RebootInputDeviceRequest.Builder>serializableBuilderClass()RebootInputDeviceRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
force
public final RebootInputDeviceForce force()
Force a reboot of an input device. If the device is streaming, it will stop streaming and begin rebooting within a few seconds of sending the command. If the device was streaming prior to the reboot, the device will resume streaming when the reboot completes.If the service returns an enum value that is not available in the current SDK version,
forcewill returnRebootInputDeviceForce.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromforceAsString().- Returns:
- Force a reboot of an input device. If the device is streaming, it will stop streaming and begin rebooting within a few seconds of sending the command. If the device was streaming prior to the reboot, the device will resume streaming when the reboot completes.
- See Also:
RebootInputDeviceForce
-
forceAsString
public final String forceAsString()
Force a reboot of an input device. If the device is streaming, it will stop streaming and begin rebooting within a few seconds of sending the command. If the device was streaming prior to the reboot, the device will resume streaming when the reboot completes.If the service returns an enum value that is not available in the current SDK version,
forcewill returnRebootInputDeviceForce.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromforceAsString().- Returns:
- Force a reboot of an input device. If the device is streaming, it will stop streaming and begin rebooting within a few seconds of sending the command. If the device was streaming prior to the reboot, the device will resume streaming when the reboot completes.
- See Also:
RebootInputDeviceForce
-
inputDeviceId
public final String inputDeviceId()
The unique ID of the input device to reboot. For example, hd-123456789abcdef.- Returns:
- The unique ID of the input device to reboot. For example, hd-123456789abcdef.
-
toBuilder
public RebootInputDeviceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RebootInputDeviceRequest.Builder,RebootInputDeviceRequest>- Specified by:
toBuilderin classMediaLiveRequest
-
builder
public static RebootInputDeviceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends RebootInputDeviceRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-