@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListHubContentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListHubContentsRequest() |
Modifier and Type | Method and Description |
---|---|
ListHubContentsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getCreationTimeAfter()
Only list hub content that was created after the time specified.
|
Date |
getCreationTimeBefore()
Only list hub content that was created before the time specified.
|
String |
getHubContentType()
The type of hub content to list.
|
String |
getHubName()
The name of the hub to list the contents of.
|
Integer |
getMaxResults()
The maximum amount of hub content to list.
|
String |
getMaxSchemaVersion()
The upper bound of the hub content schema verion.
|
String |
getNameContains()
Only list hub content if the name contains the specified string.
|
String |
getNextToken()
If the response to a previous
ListHubContents request was truncated, the response includes a
NextToken . |
String |
getSortBy()
Sort hub content versions by either name or creation time.
|
String |
getSortOrder()
Sort hubs by ascending or descending order.
|
int |
hashCode() |
void |
setCreationTimeAfter(Date creationTimeAfter)
Only list hub content that was created after the time specified.
|
void |
setCreationTimeBefore(Date creationTimeBefore)
Only list hub content that was created before the time specified.
|
void |
setHubContentType(String hubContentType)
The type of hub content to list.
|
void |
setHubName(String hubName)
The name of the hub to list the contents of.
|
void |
setMaxResults(Integer maxResults)
The maximum amount of hub content to list.
|
void |
setMaxSchemaVersion(String maxSchemaVersion)
The upper bound of the hub content schema verion.
|
void |
setNameContains(String nameContains)
Only list hub content if the name contains the specified string.
|
void |
setNextToken(String nextToken)
If the response to a previous
ListHubContents request was truncated, the response includes a
NextToken . |
void |
setSortBy(String sortBy)
Sort hub content versions 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.
|
ListHubContentsRequest |
withCreationTimeAfter(Date creationTimeAfter)
Only list hub content that was created after the time specified.
|
ListHubContentsRequest |
withCreationTimeBefore(Date creationTimeBefore)
Only list hub content that was created before the time specified.
|
ListHubContentsRequest |
withHubContentType(HubContentType hubContentType)
The type of hub content to list.
|
ListHubContentsRequest |
withHubContentType(String hubContentType)
The type of hub content to list.
|
ListHubContentsRequest |
withHubName(String hubName)
The name of the hub to list the contents of.
|
ListHubContentsRequest |
withMaxResults(Integer maxResults)
The maximum amount of hub content to list.
|
ListHubContentsRequest |
withMaxSchemaVersion(String maxSchemaVersion)
The upper bound of the hub content schema verion.
|
ListHubContentsRequest |
withNameContains(String nameContains)
Only list hub content if the name contains the specified string.
|
ListHubContentsRequest |
withNextToken(String nextToken)
If the response to a previous
ListHubContents request was truncated, the response includes a
NextToken . |
ListHubContentsRequest |
withSortBy(HubContentSortBy sortBy)
Sort hub content versions by either name or creation time.
|
ListHubContentsRequest |
withSortBy(String sortBy)
Sort hub content versions by either name or creation time.
|
ListHubContentsRequest |
withSortOrder(SortOrder sortOrder)
Sort hubs by ascending or descending order.
|
ListHubContentsRequest |
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, withSdkRequestTimeout
public void setHubName(String hubName)
The name of the hub to list the contents of.
hubName
- The name of the hub to list the contents of.public String getHubName()
The name of the hub to list the contents of.
public ListHubContentsRequest withHubName(String hubName)
The name of the hub to list the contents of.
hubName
- The name of the hub to list the contents of.public void setHubContentType(String hubContentType)
The type of hub content to list.
hubContentType
- The type of hub content to list.HubContentType
public String getHubContentType()
The type of hub content to list.
HubContentType
public ListHubContentsRequest withHubContentType(String hubContentType)
The type of hub content to list.
hubContentType
- The type of hub content to list.HubContentType
public ListHubContentsRequest withHubContentType(HubContentType hubContentType)
The type of hub content to list.
hubContentType
- The type of hub content to list.HubContentType
public void setNameContains(String nameContains)
Only list hub content if the name contains the specified string.
nameContains
- Only list hub content if the name contains the specified string.public String getNameContains()
Only list hub content if the name contains the specified string.
public ListHubContentsRequest withNameContains(String nameContains)
Only list hub content if the name contains the specified string.
nameContains
- Only list hub content if the name contains the specified string.public void setMaxSchemaVersion(String maxSchemaVersion)
The upper bound of the hub content schema verion.
maxSchemaVersion
- The upper bound of the hub content schema verion.public String getMaxSchemaVersion()
The upper bound of the hub content schema verion.
public ListHubContentsRequest withMaxSchemaVersion(String maxSchemaVersion)
The upper bound of the hub content schema verion.
maxSchemaVersion
- The upper bound of the hub content schema verion.public void setCreationTimeBefore(Date creationTimeBefore)
Only list hub content that was created before the time specified.
creationTimeBefore
- Only list hub content that was created before the time specified.public Date getCreationTimeBefore()
Only list hub content that was created before the time specified.
public ListHubContentsRequest withCreationTimeBefore(Date creationTimeBefore)
Only list hub content that was created before the time specified.
creationTimeBefore
- Only list hub content that was created before the time specified.public void setCreationTimeAfter(Date creationTimeAfter)
Only list hub content that was created after the time specified.
creationTimeAfter
- Only list hub content that was created after the time specified.public Date getCreationTimeAfter()
Only list hub content that was created after the time specified.
public ListHubContentsRequest withCreationTimeAfter(Date creationTimeAfter)
Only list hub content that was created after the time specified.
creationTimeAfter
- Only list hub content that was created after the time specified.public void setSortBy(String sortBy)
Sort hub content versions by either name or creation time.
sortBy
- Sort hub content versions by either name or creation time.HubContentSortBy
public String getSortBy()
Sort hub content versions by either name or creation time.
HubContentSortBy
public ListHubContentsRequest withSortBy(String sortBy)
Sort hub content versions by either name or creation time.
sortBy
- Sort hub content versions by either name or creation time.HubContentSortBy
public ListHubContentsRequest withSortBy(HubContentSortBy sortBy)
Sort hub content versions by either name or creation time.
sortBy
- Sort hub content versions by either name or creation time.HubContentSortBy
public void setSortOrder(String sortOrder)
Sort hubs by ascending or descending order.
sortOrder
- Sort hubs by ascending or descending order.SortOrder
public String getSortOrder()
Sort hubs by ascending or descending order.
SortOrder
public ListHubContentsRequest withSortOrder(String sortOrder)
Sort hubs by ascending or descending order.
sortOrder
- Sort hubs by ascending or descending order.SortOrder
public ListHubContentsRequest withSortOrder(SortOrder sortOrder)
Sort hubs by ascending or descending order.
sortOrder
- Sort hubs by ascending or descending order.SortOrder
public void setMaxResults(Integer maxResults)
The maximum amount of hub content to list.
maxResults
- The maximum amount of hub content to list.public Integer getMaxResults()
The maximum amount of hub content to list.
public ListHubContentsRequest withMaxResults(Integer maxResults)
The maximum amount of hub content to list.
maxResults
- The maximum amount of hub content to list.public void setNextToken(String nextToken)
If the response to a previous ListHubContents
request was truncated, the response includes a
NextToken
. To retrieve the next set of hub content, use the token in the next request.
nextToken
- If the response to a previous ListHubContents
request was truncated, the response includes a
NextToken
. To retrieve the next set of hub content, use the token in the next request.public String getNextToken()
If the response to a previous ListHubContents
request was truncated, the response includes a
NextToken
. To retrieve the next set of hub content, use the token in the next request.
ListHubContents
request was truncated, the response includes a
NextToken
. To retrieve the next set of hub content, use the token in the next request.public ListHubContentsRequest withNextToken(String nextToken)
If the response to a previous ListHubContents
request was truncated, the response includes a
NextToken
. To retrieve the next set of hub content, use the token in the next request.
nextToken
- If the response to a previous ListHubContents
request was truncated, the response includes a
NextToken
. To retrieve the next set of hub content, use the token in the next request.public String toString()
toString
in class Object
Object.toString()
public ListHubContentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()