@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetConnectPeerAssociationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetConnectPeerAssociationsRequest() |
Modifier and Type | Method and Description |
---|---|
GetConnectPeerAssociationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getConnectPeerIds()
The IDs of the Connect peers.
|
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 |
setConnectPeerIds(Collection<String> connectPeerIds)
The IDs of the Connect peers.
|
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.
|
GetConnectPeerAssociationsRequest |
withConnectPeerIds(Collection<String> connectPeerIds)
The IDs of the Connect peers.
|
GetConnectPeerAssociationsRequest |
withConnectPeerIds(String... connectPeerIds)
The IDs of the Connect peers.
|
GetConnectPeerAssociationsRequest |
withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
GetConnectPeerAssociationsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return.
|
GetConnectPeerAssociationsRequest |
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 GetConnectPeerAssociationsRequest withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public List<String> getConnectPeerIds()
The IDs of the Connect peers.
public void setConnectPeerIds(Collection<String> connectPeerIds)
The IDs of the Connect peers.
connectPeerIds
- The IDs of the Connect peers.public GetConnectPeerAssociationsRequest withConnectPeerIds(String... connectPeerIds)
The IDs of the Connect peers.
NOTE: This method appends the values to the existing list (if any). Use
setConnectPeerIds(java.util.Collection)
or withConnectPeerIds(java.util.Collection)
if you want
to override the existing values.
connectPeerIds
- The IDs of the Connect peers.public GetConnectPeerAssociationsRequest withConnectPeerIds(Collection<String> connectPeerIds)
The IDs of the Connect peers.
connectPeerIds
- The IDs of the Connect peers.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 GetConnectPeerAssociationsRequest 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 GetConnectPeerAssociationsRequest 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 GetConnectPeerAssociationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()