@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetConnectionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetConnectionsRequest() |
Modifier and Type | Method and Description |
---|---|
GetConnectionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getConnectionIds()
One or more connection IDs.
|
String |
getDeviceId()
The ID of the device.
|
String |
getGlobalNetworkId()
The ID of the global network.
|
Integer |
getMaxResults()
The maximum number of results to return.
|
String |
getNextToken()
The token for the next page of results.
|
int |
hashCode() |
void |
setConnectionIds(Collection<String> connectionIds)
One or more connection IDs.
|
void |
setDeviceId(String deviceId)
The ID of the device.
|
void |
setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
GetConnectionsRequest |
withConnectionIds(Collection<String> connectionIds)
One or more connection IDs.
|
GetConnectionsRequest |
withConnectionIds(String... connectionIds)
One or more connection IDs.
|
GetConnectionsRequest |
withDeviceId(String deviceId)
The ID of the device.
|
GetConnectionsRequest |
withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
GetConnectionsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return.
|
GetConnectionsRequest |
withNextToken(String nextToken)
The token for the next page 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, withSdkRequestTimeout
public void setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public String getGlobalNetworkId()
The ID of the global network.
public GetConnectionsRequest withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public List<String> getConnectionIds()
One or more connection IDs.
public void setConnectionIds(Collection<String> connectionIds)
One or more connection IDs.
connectionIds
- One or more connection IDs.public GetConnectionsRequest withConnectionIds(String... connectionIds)
One or more connection IDs.
NOTE: This method appends the values to the existing list (if any). Use
setConnectionIds(java.util.Collection)
or withConnectionIds(java.util.Collection)
if you want
to override the existing values.
connectionIds
- One or more connection IDs.public GetConnectionsRequest withConnectionIds(Collection<String> connectionIds)
One or more connection IDs.
connectionIds
- One or more connection IDs.public void setDeviceId(String deviceId)
The ID of the device.
deviceId
- The ID of the device.public String getDeviceId()
The ID of the device.
public GetConnectionsRequest withDeviceId(String deviceId)
The ID of the device.
deviceId
- The ID of the device.public void setMaxResults(Integer maxResults)
The maximum number of results to return.
maxResults
- The maximum number of results to return.public Integer getMaxResults()
The maximum number of results to return.
public GetConnectionsRequest withMaxResults(Integer maxResults)
The maximum number of results to return.
maxResults
- The maximum number of results to return.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public GetConnectionsRequest withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String toString()
toString
in class Object
Object.toString()
public GetConnectionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()