@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSessionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeSessionsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeSessionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAuthenticationType()
The authentication method of the user.
|
String |
getFleetName()
The name of the fleet for which to list sessions.
|
Integer |
getLimit()
The size of each page of results.
|
String |
getNextToken()
The pagination token to use to retrieve the next page of results for this operation.
|
String |
getStackName()
The name of the stack for which to list sessions.
|
String |
getUserId()
The user for whom to list sessions.
|
int |
hashCode() |
void |
setAuthenticationType(AuthenticationType authenticationType)
The authentication method of the user.
|
void |
setAuthenticationType(String authenticationType)
The authentication method of the user.
|
void |
setFleetName(String fleetName)
The name of the fleet for which to list sessions.
|
void |
setLimit(Integer limit)
The size of each page of results.
|
void |
setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
void |
setStackName(String stackName)
The name of the stack for which to list sessions.
|
void |
setUserId(String userId)
The user for whom to list sessions.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeSessionsRequest |
withAuthenticationType(AuthenticationType authenticationType)
The authentication method of the user.
|
DescribeSessionsRequest |
withAuthenticationType(String authenticationType)
The authentication method of the user.
|
DescribeSessionsRequest |
withFleetName(String fleetName)
The name of the fleet for which to list sessions.
|
DescribeSessionsRequest |
withLimit(Integer limit)
The size of each page of results.
|
DescribeSessionsRequest |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
DescribeSessionsRequest |
withStackName(String stackName)
The name of the stack for which to list sessions.
|
DescribeSessionsRequest |
withUserId(String userId)
The user for whom to list sessions.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStackName(String stackName)
The name of the stack for which to list sessions.
stackName
- The name of the stack for which to list sessions.public String getStackName()
The name of the stack for which to list sessions.
public DescribeSessionsRequest withStackName(String stackName)
The name of the stack for which to list sessions.
stackName
- The name of the stack for which to list sessions.public void setFleetName(String fleetName)
The name of the fleet for which to list sessions.
fleetName
- The name of the fleet for which to list sessions.public String getFleetName()
The name of the fleet for which to list sessions.
public DescribeSessionsRequest withFleetName(String fleetName)
The name of the fleet for which to list sessions.
fleetName
- The name of the fleet for which to list sessions.public void setUserId(String userId)
The user for whom to list sessions. Use null to describe all the sessions for the stack and fleet.
userId
- The user for whom to list sessions. Use null to describe all the sessions for the stack and fleet.public String getUserId()
The user for whom to list sessions. Use null to describe all the sessions for the stack and fleet.
public DescribeSessionsRequest withUserId(String userId)
The user for whom to list sessions. Use null to describe all the sessions for the stack and fleet.
userId
- The user for whom to list sessions. Use null to describe all the sessions for the stack and fleet.public void setNextToken(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.
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.public String getNextToken()
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.
public DescribeSessionsRequest withNextToken(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.
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.public void setLimit(Integer limit)
The size of each page of results. The default value is 20 and the maximum supported value is 50.
limit
- The size of each page of results. The default value is 20 and the maximum supported value is 50.public Integer getLimit()
The size of each page of results. The default value is 20 and the maximum supported value is 50.
public DescribeSessionsRequest withLimit(Integer limit)
The size of each page of results. The default value is 20 and the maximum supported value is 50.
limit
- The size of each page of results. The default value is 20 and the maximum supported value is 50.public void setAuthenticationType(String authenticationType)
The authentication method of the user. It can be API
for a user authenticated using a streaming URL,
or SAML
for a SAML federated user. If an authentication type is not provided, the operation defaults
to users authenticated using a streaming URL.
authenticationType
- The authentication method of the user. It can be API
for a user authenticated using a
streaming URL, or SAML
for a SAML federated user. If an authentication type is not provided,
the operation defaults to users authenticated using a streaming URL.AuthenticationType
public String getAuthenticationType()
The authentication method of the user. It can be API
for a user authenticated using a streaming URL,
or SAML
for a SAML federated user. If an authentication type is not provided, the operation defaults
to users authenticated using a streaming URL.
API
for a user authenticated using a
streaming URL, or SAML
for a SAML federated user. If an authentication type is not provided,
the operation defaults to users authenticated using a streaming URL.AuthenticationType
public DescribeSessionsRequest withAuthenticationType(String authenticationType)
The authentication method of the user. It can be API
for a user authenticated using a streaming URL,
or SAML
for a SAML federated user. If an authentication type is not provided, the operation defaults
to users authenticated using a streaming URL.
authenticationType
- The authentication method of the user. It can be API
for a user authenticated using a
streaming URL, or SAML
for a SAML federated user. If an authentication type is not provided,
the operation defaults to users authenticated using a streaming URL.AuthenticationType
public void setAuthenticationType(AuthenticationType authenticationType)
The authentication method of the user. It can be API
for a user authenticated using a streaming URL,
or SAML
for a SAML federated user. If an authentication type is not provided, the operation defaults
to users authenticated using a streaming URL.
authenticationType
- The authentication method of the user. It can be API
for a user authenticated using a
streaming URL, or SAML
for a SAML federated user. If an authentication type is not provided,
the operation defaults to users authenticated using a streaming URL.AuthenticationType
public DescribeSessionsRequest withAuthenticationType(AuthenticationType authenticationType)
The authentication method of the user. It can be API
for a user authenticated using a streaming URL,
or SAML
for a SAML federated user. If an authentication type is not provided, the operation defaults
to users authenticated using a streaming URL.
authenticationType
- The authentication method of the user. It can be API
for a user authenticated using a
streaming URL, or SAML
for a SAML federated user. If an authentication type is not provided,
the operation defaults to users authenticated using a streaming URL.AuthenticationType
public String toString()
toString
in class Object
Object.toString()
public DescribeSessionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.