@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Session extends Object implements Serializable, Cloneable, StructuredPojo
Describes a streaming session.
Constructor and Description |
---|
Session() |
Modifier and Type | Method and Description |
---|---|
Session |
clone() |
boolean |
equals(Object obj) |
String |
getAuthenticationType()
The authentication method.
|
String |
getFleetName()
The name of the fleet for the streaming session.
|
String |
getId()
The ID of the streaming session.
|
String |
getStackName()
The name of the stack for the streaming session.
|
String |
getState()
The current state of the streaming session.
|
String |
getUserId()
The identifier of the user for whom the session was created.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthenticationType(AuthenticationType authenticationType)
The authentication method.
|
void |
setAuthenticationType(String authenticationType)
The authentication method.
|
void |
setFleetName(String fleetName)
The name of the fleet for the streaming session.
|
void |
setId(String id)
The ID of the streaming session.
|
void |
setStackName(String stackName)
The name of the stack for the streaming session.
|
void |
setState(SessionState state)
The current state of the streaming session.
|
void |
setState(String state)
The current state of the streaming session.
|
void |
setUserId(String userId)
The identifier of the user for whom the session was created.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Session |
withAuthenticationType(AuthenticationType authenticationType)
The authentication method.
|
Session |
withAuthenticationType(String authenticationType)
The authentication method.
|
Session |
withFleetName(String fleetName)
The name of the fleet for the streaming session.
|
Session |
withId(String id)
The ID of the streaming session.
|
Session |
withStackName(String stackName)
The name of the stack for the streaming session.
|
Session |
withState(SessionState state)
The current state of the streaming session.
|
Session |
withState(String state)
The current state of the streaming session.
|
Session |
withUserId(String userId)
The identifier of the user for whom the session was created.
|
public void setId(String id)
The ID of the streaming session.
id
- The ID of the streaming session.public String getId()
The ID of the streaming session.
public Session withId(String id)
The ID of the streaming session.
id
- The ID of the streaming session.public void setUserId(String userId)
The identifier of the user for whom the session was created.
userId
- The identifier of the user for whom the session was created.public String getUserId()
The identifier of the user for whom the session was created.
public Session withUserId(String userId)
The identifier of the user for whom the session was created.
userId
- The identifier of the user for whom the session was created.public void setStackName(String stackName)
The name of the stack for the streaming session.
stackName
- The name of the stack for the streaming session.public String getStackName()
The name of the stack for the streaming session.
public Session withStackName(String stackName)
The name of the stack for the streaming session.
stackName
- The name of the stack for the streaming session.public void setFleetName(String fleetName)
The name of the fleet for the streaming session.
fleetName
- The name of the fleet for the streaming session.public String getFleetName()
The name of the fleet for the streaming session.
public Session withFleetName(String fleetName)
The name of the fleet for the streaming session.
fleetName
- The name of the fleet for the streaming session.public void setState(String state)
The current state of the streaming session.
state
- The current state of the streaming session.SessionState
public String getState()
The current state of the streaming session.
SessionState
public Session withState(String state)
The current state of the streaming session.
state
- The current state of the streaming session.SessionState
public void setState(SessionState state)
The current state of the streaming session.
state
- The current state of the streaming session.SessionState
public Session withState(SessionState state)
The current state of the streaming session.
state
- The current state of the streaming session.SessionState
public void setAuthenticationType(String authenticationType)
The authentication method. The user is authenticated using a streaming URL (API
) or SAML federation
(SAML
).
authenticationType
- The authentication method. The user is authenticated using a streaming URL (API
) or SAML
federation (SAML
).AuthenticationType
public String getAuthenticationType()
The authentication method. The user is authenticated using a streaming URL (API
) or SAML federation
(SAML
).
API
) or SAML
federation (SAML
).AuthenticationType
public Session withAuthenticationType(String authenticationType)
The authentication method. The user is authenticated using a streaming URL (API
) or SAML federation
(SAML
).
authenticationType
- The authentication method. The user is authenticated using a streaming URL (API
) or SAML
federation (SAML
).AuthenticationType
public void setAuthenticationType(AuthenticationType authenticationType)
The authentication method. The user is authenticated using a streaming URL (API
) or SAML federation
(SAML
).
authenticationType
- The authentication method. The user is authenticated using a streaming URL (API
) or SAML
federation (SAML
).AuthenticationType
public Session withAuthenticationType(AuthenticationType authenticationType)
The authentication method. The user is authenticated using a streaming URL (API
) or SAML federation
(SAML
).
authenticationType
- The authentication method. The user is authenticated using a streaming URL (API
) or SAML
federation (SAML
).AuthenticationType
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.