@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEndpointsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeEndpointsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeEndpointsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
Optional.
|
String |
getMode()
Optional field, defaults to DEFAULT.
|
String |
getNextToken()
Use this string, provided with the response to a previous request, to request the next batch of endpoints.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
Optional.
|
void |
setMode(String mode)
Optional field, defaults to DEFAULT.
|
void |
setNextToken(String nextToken)
Use this string, provided with the response to a previous request, to request the next batch of endpoints.
|
String |
toString()
Returns a string representation of this object.
|
DescribeEndpointsRequest |
withMaxResults(Integer maxResults)
Optional.
|
DescribeEndpointsRequest |
withMode(DescribeEndpointsMode mode)
Optional field, defaults to DEFAULT.
|
DescribeEndpointsRequest |
withMode(String mode)
Optional field, defaults to DEFAULT.
|
DescribeEndpointsRequest |
withNextToken(String nextToken)
Use this string, provided with the response to a previous request, to request the next batch of endpoints.
|
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 setMaxResults(Integer maxResults)
maxResults
- Optional. Max number of endpoints, up to twenty, that will be returned at one time.public Integer getMaxResults()
public DescribeEndpointsRequest withMaxResults(Integer maxResults)
maxResults
- Optional. Max number of endpoints, up to twenty, that will be returned at one time.public void setMode(String mode)
mode
- Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to return your endpoints if any
exist, or to create an endpoint for you and return it if one doesn't already exist. Specify GET_ONLY to
return your endpoints if any exist, or an empty list if none exist.DescribeEndpointsMode
public String getMode()
DescribeEndpointsMode
public DescribeEndpointsRequest withMode(String mode)
mode
- Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to return your endpoints if any
exist, or to create an endpoint for you and return it if one doesn't already exist. Specify GET_ONLY to
return your endpoints if any exist, or an empty list if none exist.DescribeEndpointsMode
public DescribeEndpointsRequest withMode(DescribeEndpointsMode mode)
mode
- Optional field, defaults to DEFAULT. Specify DEFAULT for this operation to return your endpoints if any
exist, or to create an endpoint for you and return it if one doesn't already exist. Specify GET_ONLY to
return your endpoints if any exist, or an empty list if none exist.DescribeEndpointsMode
public void setNextToken(String nextToken)
nextToken
- Use this string, provided with the response to a previous request, to request the next batch of endpoints.public String getNextToken()
public DescribeEndpointsRequest withNextToken(String nextToken)
nextToken
- Use this string, provided with the response to a previous request, to request the next batch of endpoints.public String toString()
toString
in class Object
Object.toString()
public DescribeEndpointsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()