@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListConnectionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListConnectionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListConnectionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getConnectionState()
The state of the connection.
|
Integer |
getLimit()
The maximum number of connections to return.
|
String |
getNamePrefix()
A name prefix to filter results returned.
|
String |
getNextToken()
The token returned by a previous call to retrieve the next set of results.
|
int |
hashCode() |
void |
setConnectionState(String connectionState)
The state of the connection.
|
void |
setLimit(Integer limit)
The maximum number of connections to return.
|
void |
setNamePrefix(String namePrefix)
A name prefix to filter results returned.
|
void |
setNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListConnectionsRequest |
withConnectionState(ConnectionState connectionState)
The state of the connection.
|
ListConnectionsRequest |
withConnectionState(String connectionState)
The state of the connection.
|
ListConnectionsRequest |
withLimit(Integer limit)
The maximum number of connections to return.
|
ListConnectionsRequest |
withNamePrefix(String namePrefix)
A name prefix to filter results returned.
|
ListConnectionsRequest |
withNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
|
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, withSdkRequestTimeoutpublic void setNamePrefix(String namePrefix)
A name prefix to filter results returned. Only connections with a name that starts with the prefix are returned.
namePrefix - A name prefix to filter results returned. Only connections with a name that starts with the prefix are
returned.public String getNamePrefix()
A name prefix to filter results returned. Only connections with a name that starts with the prefix are returned.
public ListConnectionsRequest withNamePrefix(String namePrefix)
A name prefix to filter results returned. Only connections with a name that starts with the prefix are returned.
namePrefix - A name prefix to filter results returned. Only connections with a name that starts with the prefix are
returned.public void setConnectionState(String connectionState)
The state of the connection.
connectionState - The state of the connection.ConnectionStatepublic String getConnectionState()
The state of the connection.
ConnectionStatepublic ListConnectionsRequest withConnectionState(String connectionState)
The state of the connection.
connectionState - The state of the connection.ConnectionStatepublic ListConnectionsRequest withConnectionState(ConnectionState connectionState)
The state of the connection.
connectionState - The state of the connection.ConnectionStatepublic void setNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
nextToken - The token returned by a previous call to retrieve the next set of results.public String getNextToken()
The token returned by a previous call to retrieve the next set of results.
public ListConnectionsRequest withNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
nextToken - The token returned by a previous call to retrieve the next set of results.public void setLimit(Integer limit)
The maximum number of connections to return.
limit - The maximum number of connections to return.public Integer getLimit()
The maximum number of connections to return.
public ListConnectionsRequest withLimit(Integer limit)
The maximum number of connections to return.
limit - The maximum number of connections to return.public String toString()
toString in class ObjectObject.toString()public ListConnectionsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()