Class CreateStreamingUrlRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.appstream.model.AppStreamRequest
-
- software.amazon.awssdk.services.appstream.model.CreateStreamingUrlRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateStreamingUrlRequest.Builder,CreateStreamingUrlRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateStreamingUrlRequest extends AppStreamRequest implements ToCopyableBuilder<CreateStreamingUrlRequest.Builder,CreateStreamingUrlRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateStreamingUrlRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationId()The name of the application to launch after the session starts.static CreateStreamingUrlRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfleetName()The name of the fleet.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CreateStreamingUrlRequest.Builder>serializableBuilderClass()StringsessionContext()The session context.StringstackName()The name of the stack.CreateStreamingUrlRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserId()The identifier of the user.Longvalidity()The time that the streaming URL will be valid, in seconds.-
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
-
stackName
public final String stackName()
The name of the stack.
- Returns:
- The name of the stack.
-
fleetName
public final String fleetName()
The name of the fleet.
- Returns:
- The name of the fleet.
-
userId
public final String userId()
The identifier of the user.
- Returns:
- The identifier of the user.
-
applicationId
public final String applicationId()
The name of the application to launch after the session starts. This is the name that you specified as Name in the Image Assistant. If your fleet is enabled for the Desktop stream view, you can also choose to launch directly to the operating system desktop. To do so, specify Desktop.
- Returns:
- The name of the application to launch after the session starts. This is the name that you specified as Name in the Image Assistant. If your fleet is enabled for the Desktop stream view, you can also choose to launch directly to the operating system desktop. To do so, specify Desktop.
-
validity
public final Long validity()
The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 seconds.
- Returns:
- The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 60 seconds.
-
sessionContext
public final String sessionContext()
The session context. For more information, see Session Context in the Amazon AppStream 2.0 Administration Guide.
- Returns:
- The session context. For more information, see Session Context in the Amazon AppStream 2.0 Administration Guide.
-
toBuilder
public CreateStreamingUrlRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateStreamingUrlRequest.Builder,CreateStreamingUrlRequest>- Specified by:
toBuilderin classAppStreamRequest
-
builder
public static CreateStreamingUrlRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateStreamingUrlRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-