Class StopStreamingSessionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.nimble.model.NimbleRequest
-
- software.amazon.awssdk.services.nimble.model.StopStreamingSessionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StopStreamingSessionRequest.Builder,StopStreamingSessionRequest>
@Generated("software.amazon.awssdk:codegen") public final class StopStreamingSessionRequest extends NimbleRequest implements ToCopyableBuilder<StopStreamingSessionRequest.Builder,StopStreamingSessionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStopStreamingSessionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StopStreamingSessionRequest.Builderbuilder()StringclientToken()Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends StopStreamingSessionRequest.Builder>serializableBuilderClass()StringsessionId()The streaming session ID for theStopStreamingSessionRequest.StringstudioId()The studioId for the StopStreamingSessionRequest.StopStreamingSessionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.VolumeRetentionModevolumeRetentionMode()Adds additional instructions to a streaming session stop action to either retain the EBS volumes or delete the EBS volumes.StringvolumeRetentionModeAsString()Adds additional instructions to a streaming session stop action to either retain the EBS volumes or delete the EBS volumes.-
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
-
clientToken
public final String clientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
- Returns:
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
-
sessionId
public final String sessionId()
The streaming session ID for the
StopStreamingSessionRequest.- Returns:
- The streaming session ID for the
StopStreamingSessionRequest.
-
studioId
public final String studioId()
The studioId for the StopStreamingSessionRequest.
- Returns:
- The studioId for the StopStreamingSessionRequest.
-
volumeRetentionMode
public final VolumeRetentionMode volumeRetentionMode()
Adds additional instructions to a streaming session stop action to either retain the EBS volumes or delete the EBS volumes.
If the service returns an enum value that is not available in the current SDK version,
volumeRetentionModewill returnVolumeRetentionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvolumeRetentionModeAsString().- Returns:
- Adds additional instructions to a streaming session stop action to either retain the EBS volumes or delete the EBS volumes.
- See Also:
VolumeRetentionMode
-
volumeRetentionModeAsString
public final String volumeRetentionModeAsString()
Adds additional instructions to a streaming session stop action to either retain the EBS volumes or delete the EBS volumes.
If the service returns an enum value that is not available in the current SDK version,
volumeRetentionModewill returnVolumeRetentionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvolumeRetentionModeAsString().- Returns:
- Adds additional instructions to a streaming session stop action to either retain the EBS volumes or delete the EBS volumes.
- See Also:
VolumeRetentionMode
-
toBuilder
public StopStreamingSessionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StopStreamingSessionRequest.Builder,StopStreamingSessionRequest>- Specified by:
toBuilderin classNimbleRequest
-
builder
public static StopStreamingSessionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StopStreamingSessionRequest.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
-
-