@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMembershipsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListMembershipsRequest() |
Modifier and Type | Method and Description |
---|---|
ListMembershipsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum size of the results that is returned per call.
|
String |
getNextToken()
The token value retrieved from a previous call to access the next page of results.
|
String |
getStatus()
A filter which will return only memberships in the specified status.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum size of the results that is returned per call.
|
void |
setNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
|
void |
setStatus(String status)
A filter which will return only memberships in the specified status.
|
String |
toString()
Returns a string representation of this object.
|
ListMembershipsRequest |
withMaxResults(Integer maxResults)
The maximum size of the results that is returned per call.
|
ListMembershipsRequest |
withNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
|
ListMembershipsRequest |
withStatus(MembershipStatus status)
A filter which will return only memberships in the specified status.
|
ListMembershipsRequest |
withStatus(String status)
A filter which will return only memberships in the specified status.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
nextToken
- The token value retrieved from a previous call to access the next page of results.public String getNextToken()
The token value retrieved from a previous call to access the next page of results.
public ListMembershipsRequest withNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
nextToken
- The token value retrieved from a previous call to access the next page of results.public void setMaxResults(Integer maxResults)
The maximum size of the results that is returned per call.
maxResults
- The maximum size of the results that is returned per call.public Integer getMaxResults()
The maximum size of the results that is returned per call.
public ListMembershipsRequest withMaxResults(Integer maxResults)
The maximum size of the results that is returned per call.
maxResults
- The maximum size of the results that is returned per call.public void setStatus(String status)
A filter which will return only memberships in the specified status.
status
- A filter which will return only memberships in the specified status.MembershipStatus
public String getStatus()
A filter which will return only memberships in the specified status.
MembershipStatus
public ListMembershipsRequest withStatus(String status)
A filter which will return only memberships in the specified status.
status
- A filter which will return only memberships in the specified status.MembershipStatus
public ListMembershipsRequest withStatus(MembershipStatus status)
A filter which will return only memberships in the specified status.
status
- A filter which will return only memberships in the specified status.MembershipStatus
public String toString()
toString
in class Object
Object.toString()
public ListMembershipsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()