@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListArtifactsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListArtifactsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListArtifactsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getArtifactType()
A filter that returns only artifacts of the specified type.
|
Date |
getCreatedAfter()
A filter that returns only artifacts created on or after the specified time.
|
Date |
getCreatedBefore()
A filter that returns only artifacts created on or before the specified time.
|
Integer |
getMaxResults()
The maximum number of artifacts to return in the response.
|
String |
getNextToken()
If the previous call to
ListArtifacts didn't return the full set of artifacts, the call returns a
token for getting the next set of artifacts. |
String |
getSortBy()
The property used to sort results.
|
String |
getSortOrder()
The sort order.
|
String |
getSourceUri()
A filter that returns only artifacts with the specified source URI.
|
int |
hashCode() |
void |
setArtifactType(String artifactType)
A filter that returns only artifacts of the specified type.
|
void |
setCreatedAfter(Date createdAfter)
A filter that returns only artifacts created on or after the specified time.
|
void |
setCreatedBefore(Date createdBefore)
A filter that returns only artifacts created on or before the specified time.
|
void |
setMaxResults(Integer maxResults)
The maximum number of artifacts to return in the response.
|
void |
setNextToken(String nextToken)
If the previous call to
ListArtifacts didn't return the full set of artifacts, the call returns a
token for getting the next set of artifacts. |
void |
setSortBy(String sortBy)
The property used to sort results.
|
void |
setSortOrder(String sortOrder)
The sort order.
|
void |
setSourceUri(String sourceUri)
A filter that returns only artifacts with the specified source URI.
|
String |
toString()
Returns a string representation of this object.
|
ListArtifactsRequest |
withArtifactType(String artifactType)
A filter that returns only artifacts of the specified type.
|
ListArtifactsRequest |
withCreatedAfter(Date createdAfter)
A filter that returns only artifacts created on or after the specified time.
|
ListArtifactsRequest |
withCreatedBefore(Date createdBefore)
A filter that returns only artifacts created on or before the specified time.
|
ListArtifactsRequest |
withMaxResults(Integer maxResults)
The maximum number of artifacts to return in the response.
|
ListArtifactsRequest |
withNextToken(String nextToken)
If the previous call to
ListArtifacts didn't return the full set of artifacts, the call returns a
token for getting the next set of artifacts. |
ListArtifactsRequest |
withSortBy(SortArtifactsBy sortBy)
The property used to sort results.
|
ListArtifactsRequest |
withSortBy(String sortBy)
The property used to sort results.
|
ListArtifactsRequest |
withSortOrder(SortOrder sortOrder)
The sort order.
|
ListArtifactsRequest |
withSortOrder(String sortOrder)
The sort order.
|
ListArtifactsRequest |
withSourceUri(String sourceUri)
A filter that returns only artifacts with the specified source URI.
|
addHandlerContext, copyBaseTo, 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 setSourceUri(String sourceUri)
A filter that returns only artifacts with the specified source URI.
sourceUri - A filter that returns only artifacts with the specified source URI.public String getSourceUri()
A filter that returns only artifacts with the specified source URI.
public ListArtifactsRequest withSourceUri(String sourceUri)
A filter that returns only artifacts with the specified source URI.
sourceUri - A filter that returns only artifacts with the specified source URI.public void setArtifactType(String artifactType)
A filter that returns only artifacts of the specified type.
artifactType - A filter that returns only artifacts of the specified type.public String getArtifactType()
A filter that returns only artifacts of the specified type.
public ListArtifactsRequest withArtifactType(String artifactType)
A filter that returns only artifacts of the specified type.
artifactType - A filter that returns only artifacts of the specified type.public void setCreatedAfter(Date createdAfter)
A filter that returns only artifacts created on or after the specified time.
createdAfter - A filter that returns only artifacts created on or after the specified time.public Date getCreatedAfter()
A filter that returns only artifacts created on or after the specified time.
public ListArtifactsRequest withCreatedAfter(Date createdAfter)
A filter that returns only artifacts created on or after the specified time.
createdAfter - A filter that returns only artifacts created on or after the specified time.public void setCreatedBefore(Date createdBefore)
A filter that returns only artifacts created on or before the specified time.
createdBefore - A filter that returns only artifacts created on or before the specified time.public Date getCreatedBefore()
A filter that returns only artifacts created on or before the specified time.
public ListArtifactsRequest withCreatedBefore(Date createdBefore)
A filter that returns only artifacts created on or before the specified time.
createdBefore - A filter that returns only artifacts created on or before the specified time.public void setSortBy(String sortBy)
The property used to sort results. The default value is CreationTime.
sortBy - The property used to sort results. The default value is CreationTime.SortArtifactsBypublic String getSortBy()
The property used to sort results. The default value is CreationTime.
CreationTime.SortArtifactsBypublic ListArtifactsRequest withSortBy(String sortBy)
The property used to sort results. The default value is CreationTime.
sortBy - The property used to sort results. The default value is CreationTime.SortArtifactsBypublic ListArtifactsRequest withSortBy(SortArtifactsBy sortBy)
The property used to sort results. The default value is CreationTime.
sortBy - The property used to sort results. The default value is CreationTime.SortArtifactsBypublic void setSortOrder(String sortOrder)
The sort order. The default value is Descending.
sortOrder - The sort order. The default value is Descending.SortOrderpublic String getSortOrder()
The sort order. The default value is Descending.
Descending.SortOrderpublic ListArtifactsRequest withSortOrder(String sortOrder)
The sort order. The default value is Descending.
sortOrder - The sort order. The default value is Descending.SortOrderpublic ListArtifactsRequest withSortOrder(SortOrder sortOrder)
The sort order. The default value is Descending.
sortOrder - The sort order. The default value is Descending.SortOrderpublic void setNextToken(String nextToken)
If the previous call to ListArtifacts didn't return the full set of artifacts, the call returns a
token for getting the next set of artifacts.
nextToken - If the previous call to ListArtifacts didn't return the full set of artifacts, the call
returns a token for getting the next set of artifacts.public String getNextToken()
If the previous call to ListArtifacts didn't return the full set of artifacts, the call returns a
token for getting the next set of artifacts.
ListArtifacts didn't return the full set of artifacts, the call
returns a token for getting the next set of artifacts.public ListArtifactsRequest withNextToken(String nextToken)
If the previous call to ListArtifacts didn't return the full set of artifacts, the call returns a
token for getting the next set of artifacts.
nextToken - If the previous call to ListArtifacts didn't return the full set of artifacts, the call
returns a token for getting the next set of artifacts.public void setMaxResults(Integer maxResults)
The maximum number of artifacts to return in the response. The default value is 10.
maxResults - The maximum number of artifacts to return in the response. The default value is 10.public Integer getMaxResults()
The maximum number of artifacts to return in the response. The default value is 10.
public ListArtifactsRequest withMaxResults(Integer maxResults)
The maximum number of artifacts to return in the response. The default value is 10.
maxResults - The maximum number of artifacts to return in the response. The default value is 10.public String toString()
toString in class ObjectObject.toString()public ListArtifactsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2024. All rights reserved.