@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEndpointsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListEndpointsRequest() |
Modifier and Type | Method and Description |
---|---|
ListEndpointsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getCreationTimeAfter()
A filter that returns only endpoints with a creation time greater than or equal to the specified time
(timestamp).
|
Date |
getCreationTimeBefore()
A filter that returns only endpoints that were created before the specified time (timestamp).
|
Date |
getLastModifiedTimeAfter()
A filter that returns only endpoints that were modified after the specified timestamp.
|
Date |
getLastModifiedTimeBefore()
A filter that returns only endpoints that were modified before the specified timestamp.
|
Integer |
getMaxResults()
The maximum number of endpoints to return in the response.
|
String |
getNameContains()
A string in endpoint names.
|
String |
getNextToken()
If the result of a
ListEndpoints request was truncated, the response includes a
NextToken . |
String |
getSortBy()
Sorts the list of results.
|
String |
getSortOrder()
The sort order for results.
|
String |
getStatusEquals()
A filter that returns only endpoints with the specified status.
|
int |
hashCode() |
void |
setCreationTimeAfter(Date creationTimeAfter)
A filter that returns only endpoints with a creation time greater than or equal to the specified time
(timestamp).
|
void |
setCreationTimeBefore(Date creationTimeBefore)
A filter that returns only endpoints that were created before the specified time (timestamp).
|
void |
setLastModifiedTimeAfter(Date lastModifiedTimeAfter)
A filter that returns only endpoints that were modified after the specified timestamp.
|
void |
setLastModifiedTimeBefore(Date lastModifiedTimeBefore)
A filter that returns only endpoints that were modified before the specified timestamp.
|
void |
setMaxResults(Integer maxResults)
The maximum number of endpoints to return in the response.
|
void |
setNameContains(String nameContains)
A string in endpoint names.
|
void |
setNextToken(String nextToken)
If the result of a
ListEndpoints request was truncated, the response includes a
NextToken . |
void |
setSortBy(String sortBy)
Sorts the list of results.
|
void |
setSortOrder(String sortOrder)
The sort order for results.
|
void |
setStatusEquals(String statusEquals)
A filter that returns only endpoints with the specified status.
|
String |
toString()
Returns a string representation of this object.
|
ListEndpointsRequest |
withCreationTimeAfter(Date creationTimeAfter)
A filter that returns only endpoints with a creation time greater than or equal to the specified time
(timestamp).
|
ListEndpointsRequest |
withCreationTimeBefore(Date creationTimeBefore)
A filter that returns only endpoints that were created before the specified time (timestamp).
|
ListEndpointsRequest |
withLastModifiedTimeAfter(Date lastModifiedTimeAfter)
A filter that returns only endpoints that were modified after the specified timestamp.
|
ListEndpointsRequest |
withLastModifiedTimeBefore(Date lastModifiedTimeBefore)
A filter that returns only endpoints that were modified before the specified timestamp.
|
ListEndpointsRequest |
withMaxResults(Integer maxResults)
The maximum number of endpoints to return in the response.
|
ListEndpointsRequest |
withNameContains(String nameContains)
A string in endpoint names.
|
ListEndpointsRequest |
withNextToken(String nextToken)
If the result of a
ListEndpoints request was truncated, the response includes a
NextToken . |
ListEndpointsRequest |
withSortBy(EndpointSortKey sortBy)
Sorts the list of results.
|
ListEndpointsRequest |
withSortBy(String sortBy)
Sorts the list of results.
|
ListEndpointsRequest |
withSortOrder(OrderKey sortOrder)
The sort order for results.
|
ListEndpointsRequest |
withSortOrder(String sortOrder)
The sort order for results.
|
ListEndpointsRequest |
withStatusEquals(EndpointStatus statusEquals)
A filter that returns only endpoints with the specified status.
|
ListEndpointsRequest |
withStatusEquals(String statusEquals)
A filter that returns only endpoints with 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 setSortBy(String sortBy)
Sorts the list of results. The default is CreationTime
.
sortBy
- Sorts the list of results. The default is CreationTime
.EndpointSortKey
public String getSortBy()
Sorts the list of results. The default is CreationTime
.
CreationTime
.EndpointSortKey
public ListEndpointsRequest withSortBy(String sortBy)
Sorts the list of results. The default is CreationTime
.
sortBy
- Sorts the list of results. The default is CreationTime
.EndpointSortKey
public ListEndpointsRequest withSortBy(EndpointSortKey sortBy)
Sorts the list of results. The default is CreationTime
.
sortBy
- Sorts the list of results. The default is CreationTime
.EndpointSortKey
public void setSortOrder(String sortOrder)
The sort order for results. The default is Descending
.
sortOrder
- The sort order for results. The default is Descending
.OrderKey
public String getSortOrder()
The sort order for results. The default is Descending
.
Descending
.OrderKey
public ListEndpointsRequest withSortOrder(String sortOrder)
The sort order for results. The default is Descending
.
sortOrder
- The sort order for results. The default is Descending
.OrderKey
public ListEndpointsRequest withSortOrder(OrderKey sortOrder)
The sort order for results. The default is Descending
.
sortOrder
- The sort order for results. The default is Descending
.OrderKey
public void setNextToken(String nextToken)
If the result of a ListEndpoints
request was truncated, the response includes a
NextToken
. To retrieve the next set of endpoints, use the token in the next request.
nextToken
- If the result of a ListEndpoints
request was truncated, the response includes a
NextToken
. To retrieve the next set of endpoints, use the token in the next request.public String getNextToken()
If the result of a ListEndpoints
request was truncated, the response includes a
NextToken
. To retrieve the next set of endpoints, use the token in the next request.
ListEndpoints
request was truncated, the response includes a
NextToken
. To retrieve the next set of endpoints, use the token in the next request.public ListEndpointsRequest withNextToken(String nextToken)
If the result of a ListEndpoints
request was truncated, the response includes a
NextToken
. To retrieve the next set of endpoints, use the token in the next request.
nextToken
- If the result of a ListEndpoints
request was truncated, the response includes a
NextToken
. To retrieve the next set of endpoints, use the token in the next request.public void setMaxResults(Integer maxResults)
The maximum number of endpoints to return in the response. This value defaults to 10.
maxResults
- The maximum number of endpoints to return in the response. This value defaults to 10.public Integer getMaxResults()
The maximum number of endpoints to return in the response. This value defaults to 10.
public ListEndpointsRequest withMaxResults(Integer maxResults)
The maximum number of endpoints to return in the response. This value defaults to 10.
maxResults
- The maximum number of endpoints to return in the response. This value defaults to 10.public void setNameContains(String nameContains)
A string in endpoint names. This filter returns only endpoints whose name contains the specified string.
nameContains
- A string in endpoint names. This filter returns only endpoints whose name contains the specified string.public String getNameContains()
A string in endpoint names. This filter returns only endpoints whose name contains the specified string.
public ListEndpointsRequest withNameContains(String nameContains)
A string in endpoint names. This filter returns only endpoints whose name contains the specified string.
nameContains
- A string in endpoint names. This filter returns only endpoints whose name contains the specified string.public void setCreationTimeBefore(Date creationTimeBefore)
A filter that returns only endpoints that were created before the specified time (timestamp).
creationTimeBefore
- A filter that returns only endpoints that were created before the specified time (timestamp).public Date getCreationTimeBefore()
A filter that returns only endpoints that were created before the specified time (timestamp).
public ListEndpointsRequest withCreationTimeBefore(Date creationTimeBefore)
A filter that returns only endpoints that were created before the specified time (timestamp).
creationTimeBefore
- A filter that returns only endpoints that were created before the specified time (timestamp).public void setCreationTimeAfter(Date creationTimeAfter)
A filter that returns only endpoints with a creation time greater than or equal to the specified time (timestamp).
creationTimeAfter
- A filter that returns only endpoints with a creation time greater than or equal to the specified time
(timestamp).public Date getCreationTimeAfter()
A filter that returns only endpoints with a creation time greater than or equal to the specified time (timestamp).
public ListEndpointsRequest withCreationTimeAfter(Date creationTimeAfter)
A filter that returns only endpoints with a creation time greater than or equal to the specified time (timestamp).
creationTimeAfter
- A filter that returns only endpoints with a creation time greater than or equal to the specified time
(timestamp).public void setLastModifiedTimeBefore(Date lastModifiedTimeBefore)
A filter that returns only endpoints that were modified before the specified timestamp.
lastModifiedTimeBefore
- A filter that returns only endpoints that were modified before the specified timestamp.public Date getLastModifiedTimeBefore()
A filter that returns only endpoints that were modified before the specified timestamp.
public ListEndpointsRequest withLastModifiedTimeBefore(Date lastModifiedTimeBefore)
A filter that returns only endpoints that were modified before the specified timestamp.
lastModifiedTimeBefore
- A filter that returns only endpoints that were modified before the specified timestamp.public void setLastModifiedTimeAfter(Date lastModifiedTimeAfter)
A filter that returns only endpoints that were modified after the specified timestamp.
lastModifiedTimeAfter
- A filter that returns only endpoints that were modified after the specified timestamp.public Date getLastModifiedTimeAfter()
A filter that returns only endpoints that were modified after the specified timestamp.
public ListEndpointsRequest withLastModifiedTimeAfter(Date lastModifiedTimeAfter)
A filter that returns only endpoints that were modified after the specified timestamp.
lastModifiedTimeAfter
- A filter that returns only endpoints that were modified after the specified timestamp.public void setStatusEquals(String statusEquals)
A filter that returns only endpoints with the specified status.
statusEquals
- A filter that returns only endpoints with the specified status.EndpointStatus
public String getStatusEquals()
A filter that returns only endpoints with the specified status.
EndpointStatus
public ListEndpointsRequest withStatusEquals(String statusEquals)
A filter that returns only endpoints with the specified status.
statusEquals
- A filter that returns only endpoints with the specified status.EndpointStatus
public ListEndpointsRequest withStatusEquals(EndpointStatus statusEquals)
A filter that returns only endpoints with the specified status.
statusEquals
- A filter that returns only endpoints with the specified status.EndpointStatus
public String toString()
toString
in class Object
Object.toString()
public ListEndpointsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()