@Generated(value="software.amazon.awssdk:codegen") public class Session extends Object implements StructuredPojo, ToCopyableBuilder<Session.Builder,Session>
Describes a streaming session.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Session.Builder |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationType |
authenticationType()
The authentication method.
|
String |
authenticationTypeAsString()
The authentication method.
|
static Session.Builder |
builder() |
boolean |
equals(Object obj) |
String |
fleetName()
The name of the fleet for the streaming session.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the streaming session.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends Session.Builder> |
serializableBuilderClass() |
String |
stackName()
The name of the stack for the streaming session.
|
SessionState |
state()
The current state of the streaming session.
|
String |
stateAsString()
The current state of the streaming session.
|
Session.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
userId()
The identifier of the user for whom the session was created.
|
copypublic String id()
The ID of the streaming session.
public String userId()
The identifier of the user for whom the session was created.
public String stackName()
The name of the stack for the streaming session.
public String fleetName()
The name of the fleet for the streaming session.
public SessionState state()
The current state of the streaming session.
If the service returns an enum value that is not available in the current SDK version, state will return
SessionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
SessionStatepublic String stateAsString()
The current state of the streaming session.
If the service returns an enum value that is not available in the current SDK version, state will return
SessionState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
SessionStatepublic AuthenticationType authenticationType()
The authentication method. The user is authenticated using a streaming URL (API) or SAML federation
(SAML).
If the service returns an enum value that is not available in the current SDK version,
authenticationType will return AuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from authenticationTypeAsString().
API) or SAML
federation (SAML).AuthenticationTypepublic String authenticationTypeAsString()
The authentication method. The user is authenticated using a streaming URL (API) or SAML federation
(SAML).
If the service returns an enum value that is not available in the current SDK version,
authenticationType will return AuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from authenticationTypeAsString().
API) or SAML
federation (SAML).AuthenticationTypepublic Session.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Session.Builder,Session>public static Session.Builder builder()
public static Class<? extends Session.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.