@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListHubsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListHubsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListHubsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getCreationTimeAfter()
Only list hubs that were created after the time specified.
|
Date |
getCreationTimeBefore()
Only list hubs that were created before the time specified.
|
Date |
getLastModifiedTimeAfter()
Only list hubs that were last modified after the time specified.
|
Date |
getLastModifiedTimeBefore()
Only list hubs that were last modified before the time specified.
|
Integer |
getMaxResults()
The maximum number of hubs to list.
|
String |
getNameContains()
Only list hubs with names that contain the specified string.
|
String |
getNextToken()
If the response to a previous
ListHubs request was truncated, the response includes a
NextToken. |
String |
getSortBy()
Sort hubs by either name or creation time.
|
String |
getSortOrder()
Sort hubs by ascending or descending order.
|
int |
hashCode() |
void |
setCreationTimeAfter(Date creationTimeAfter)
Only list hubs that were created after the time specified.
|
void |
setCreationTimeBefore(Date creationTimeBefore)
Only list hubs that were created before the time specified.
|
void |
setLastModifiedTimeAfter(Date lastModifiedTimeAfter)
Only list hubs that were last modified after the time specified.
|
void |
setLastModifiedTimeBefore(Date lastModifiedTimeBefore)
Only list hubs that were last modified before the time specified.
|
void |
setMaxResults(Integer maxResults)
The maximum number of hubs to list.
|
void |
setNameContains(String nameContains)
Only list hubs with names that contain the specified string.
|
void |
setNextToken(String nextToken)
If the response to a previous
ListHubs request was truncated, the response includes a
NextToken. |
void |
setSortBy(String sortBy)
Sort hubs by either name or creation time.
|
void |
setSortOrder(String sortOrder)
Sort hubs by ascending or descending order.
|
String |
toString()
Returns a string representation of this object.
|
ListHubsRequest |
withCreationTimeAfter(Date creationTimeAfter)
Only list hubs that were created after the time specified.
|
ListHubsRequest |
withCreationTimeBefore(Date creationTimeBefore)
Only list hubs that were created before the time specified.
|
ListHubsRequest |
withLastModifiedTimeAfter(Date lastModifiedTimeAfter)
Only list hubs that were last modified after the time specified.
|
ListHubsRequest |
withLastModifiedTimeBefore(Date lastModifiedTimeBefore)
Only list hubs that were last modified before the time specified.
|
ListHubsRequest |
withMaxResults(Integer maxResults)
The maximum number of hubs to list.
|
ListHubsRequest |
withNameContains(String nameContains)
Only list hubs with names that contain the specified string.
|
ListHubsRequest |
withNextToken(String nextToken)
If the response to a previous
ListHubs request was truncated, the response includes a
NextToken. |
ListHubsRequest |
withSortBy(HubSortBy sortBy)
Sort hubs by either name or creation time.
|
ListHubsRequest |
withSortBy(String sortBy)
Sort hubs by either name or creation time.
|
ListHubsRequest |
withSortOrder(SortOrder sortOrder)
Sort hubs by ascending or descending order.
|
ListHubsRequest |
withSortOrder(String sortOrder)
Sort hubs by ascending or descending order.
|
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 setNameContains(String nameContains)
Only list hubs with names that contain the specified string.
nameContains - Only list hubs with names that contain the specified string.public String getNameContains()
Only list hubs with names that contain the specified string.
public ListHubsRequest withNameContains(String nameContains)
Only list hubs with names that contain the specified string.
nameContains - Only list hubs with names that contain the specified string.public void setCreationTimeBefore(Date creationTimeBefore)
Only list hubs that were created before the time specified.
creationTimeBefore - Only list hubs that were created before the time specified.public Date getCreationTimeBefore()
Only list hubs that were created before the time specified.
public ListHubsRequest withCreationTimeBefore(Date creationTimeBefore)
Only list hubs that were created before the time specified.
creationTimeBefore - Only list hubs that were created before the time specified.public void setCreationTimeAfter(Date creationTimeAfter)
Only list hubs that were created after the time specified.
creationTimeAfter - Only list hubs that were created after the time specified.public Date getCreationTimeAfter()
Only list hubs that were created after the time specified.
public ListHubsRequest withCreationTimeAfter(Date creationTimeAfter)
Only list hubs that were created after the time specified.
creationTimeAfter - Only list hubs that were created after the time specified.public void setLastModifiedTimeBefore(Date lastModifiedTimeBefore)
Only list hubs that were last modified before the time specified.
lastModifiedTimeBefore - Only list hubs that were last modified before the time specified.public Date getLastModifiedTimeBefore()
Only list hubs that were last modified before the time specified.
public ListHubsRequest withLastModifiedTimeBefore(Date lastModifiedTimeBefore)
Only list hubs that were last modified before the time specified.
lastModifiedTimeBefore - Only list hubs that were last modified before the time specified.public void setLastModifiedTimeAfter(Date lastModifiedTimeAfter)
Only list hubs that were last modified after the time specified.
lastModifiedTimeAfter - Only list hubs that were last modified after the time specified.public Date getLastModifiedTimeAfter()
Only list hubs that were last modified after the time specified.
public ListHubsRequest withLastModifiedTimeAfter(Date lastModifiedTimeAfter)
Only list hubs that were last modified after the time specified.
lastModifiedTimeAfter - Only list hubs that were last modified after the time specified.public void setSortBy(String sortBy)
Sort hubs by either name or creation time.
sortBy - Sort hubs by either name or creation time.HubSortBypublic String getSortBy()
Sort hubs by either name or creation time.
HubSortBypublic ListHubsRequest withSortBy(String sortBy)
Sort hubs by either name or creation time.
sortBy - Sort hubs by either name or creation time.HubSortBypublic ListHubsRequest withSortBy(HubSortBy sortBy)
Sort hubs by either name or creation time.
sortBy - Sort hubs by either name or creation time.HubSortBypublic void setSortOrder(String sortOrder)
Sort hubs by ascending or descending order.
sortOrder - Sort hubs by ascending or descending order.SortOrderpublic String getSortOrder()
Sort hubs by ascending or descending order.
SortOrderpublic ListHubsRequest withSortOrder(String sortOrder)
Sort hubs by ascending or descending order.
sortOrder - Sort hubs by ascending or descending order.SortOrderpublic ListHubsRequest withSortOrder(SortOrder sortOrder)
Sort hubs by ascending or descending order.
sortOrder - Sort hubs by ascending or descending order.SortOrderpublic void setMaxResults(Integer maxResults)
The maximum number of hubs to list.
maxResults - The maximum number of hubs to list.public Integer getMaxResults()
The maximum number of hubs to list.
public ListHubsRequest withMaxResults(Integer maxResults)
The maximum number of hubs to list.
maxResults - The maximum number of hubs to list.public void setNextToken(String nextToken)
If the response to a previous ListHubs request was truncated, the response includes a
NextToken. To retrieve the next set of hubs, use the token in the next request.
nextToken - If the response to a previous ListHubs request was truncated, the response includes a
NextToken. To retrieve the next set of hubs, use the token in the next request.public String getNextToken()
If the response to a previous ListHubs request was truncated, the response includes a
NextToken. To retrieve the next set of hubs, use the token in the next request.
ListHubs request was truncated, the response includes a
NextToken. To retrieve the next set of hubs, use the token in the next request.public ListHubsRequest withNextToken(String nextToken)
If the response to a previous ListHubs request was truncated, the response includes a
NextToken. To retrieve the next set of hubs, use the token in the next request.
nextToken - If the response to a previous ListHubs request was truncated, the response includes a
NextToken. To retrieve the next set of hubs, use the token in the next request.public String toString()
toString in class ObjectObject.toString()public ListHubsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()