Class DescribeSessionsRequest
- 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.DescribeSessionsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeSessionsRequest.Builder,DescribeSessionsRequest>
@Generated("software.amazon.awssdk:codegen") public final class DescribeSessionsRequest extends AppStreamRequest implements ToCopyableBuilder<DescribeSessionsRequest.Builder,DescribeSessionsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeSessionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationTypeauthenticationType()The authentication method.StringauthenticationTypeAsString()The authentication method.static DescribeSessionsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfleetName()The name of the fleet.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceId()The identifier for the instance hosting the session.Integerlimit()The size of each page of results.StringnextToken()The pagination token to use to retrieve the next page of results for this operation.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DescribeSessionsRequest.Builder>serializableBuilderClass()StringstackName()The name of the stack.DescribeSessionsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserId()The user identifier (ID).-
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. This value is case-sensitive.
- Returns:
- The name of the stack. This value is case-sensitive.
-
fleetName
public final String fleetName()
The name of the fleet. This value is case-sensitive.
- Returns:
- The name of the fleet. This value is case-sensitive.
-
userId
public final String userId()
The user identifier (ID). If you specify a user ID, you must also specify the authentication type.
- Returns:
- The user identifier (ID). If you specify a user ID, you must also specify the authentication type.
-
nextToken
public final String nextToken()
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
- Returns:
- The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
-
limit
public final Integer limit()
The size of each page of results. The default value is 20 and the maximum value is 50.
- Returns:
- The size of each page of results. The default value is 20 and the maximum value is 50.
-
authenticationType
public final AuthenticationType authenticationType()
The authentication method. Specify
APIfor a user authenticated using a streaming URL orSAMLfor a SAML federated user. The default is to authenticate users using a streaming URL.If the service returns an enum value that is not available in the current SDK version,
authenticationTypewill returnAuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthenticationTypeAsString().- Returns:
- The authentication method. Specify
APIfor a user authenticated using a streaming URL orSAMLfor a SAML federated user. The default is to authenticate users using a streaming URL. - See Also:
AuthenticationType
-
authenticationTypeAsString
public final String authenticationTypeAsString()
The authentication method. Specify
APIfor a user authenticated using a streaming URL orSAMLfor a SAML federated user. The default is to authenticate users using a streaming URL.If the service returns an enum value that is not available in the current SDK version,
authenticationTypewill returnAuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthenticationTypeAsString().- Returns:
- The authentication method. Specify
APIfor a user authenticated using a streaming URL orSAMLfor a SAML federated user. The default is to authenticate users using a streaming URL. - See Also:
AuthenticationType
-
instanceId
public final String instanceId()
The identifier for the instance hosting the session.
- Returns:
- The identifier for the instance hosting the session.
-
toBuilder
public DescribeSessionsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeSessionsRequest.Builder,DescribeSessionsRequest>- Specified by:
toBuilderin classAppStreamRequest
-
builder
public static DescribeSessionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeSessionsRequest.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
-
-