public class ListApplicationRevisionsRequest extends AmazonWebServiceRequest implements Serializable
ListApplicationRevisions operation.
Lists information about revisions for an application.
NOOP| Constructor and Description |
|---|
ListApplicationRevisionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getApplicationName()
The name of an existing AWS CodeDeploy application within the AWS user
account.
|
String |
getDeployed()
Whether to list revisions based on whether the revision is the target
revision of an deployment group: include: List revisions that
are target revisions of a deployment group. exclude: Do not
list revisions that are target revisions of a deployment group.
ignore: List all revisions, regardless of whether they are target
revisions of a deployment group.
|
String |
getNextToken()
An identifier that was returned from the previous list application
revisions call, which can be used to return the next set of
applications in the list.
|
String |
getS3Bucket()
A specific Amazon S3 bucket name to limit the search for revisions.
|
String |
getS3KeyPrefix()
A specific key prefix for the set of Amazon S3 objects to limit the
search for revisions.
|
String |
getSortBy()
The column name to sort the list results by: registerTime:
Sort the list results by when the revisions were registered with AWS
CodeDeploy. firstUsedTime: Sort the list results by when the
revisions were first used by in a deployment. lastUsedTime:
Sort the list results by when the revisions were last used in a
deployment.
|
String |
getSortOrder()
The order to sort the list results by: ascending: Sort the
list results in ascending order. descending: Sort the list
results in descending order.
|
int |
hashCode() |
void |
setApplicationName(String applicationName)
The name of an existing AWS CodeDeploy application within the AWS user
account.
|
void |
setDeployed(ListStateFilterAction deployed)
Whether to list revisions based on whether the revision is the target
revision of an deployment group: include: List revisions that
are target revisions of a deployment group. exclude: Do not
list revisions that are target revisions of a deployment group.
ignore: List all revisions, regardless of whether they are target
revisions of a deployment group.
|
void |
setDeployed(String deployed)
Whether to list revisions based on whether the revision is the target
revision of an deployment group: include: List revisions that
are target revisions of a deployment group. exclude: Do not
list revisions that are target revisions of a deployment group.
ignore: List all revisions, regardless of whether they are target
revisions of a deployment group.
|
void |
setNextToken(String nextToken)
An identifier that was returned from the previous list application
revisions call, which can be used to return the next set of
applications in the list.
|
void |
setS3Bucket(String s3Bucket)
A specific Amazon S3 bucket name to limit the search for revisions.
|
void |
setS3KeyPrefix(String s3KeyPrefix)
A specific key prefix for the set of Amazon S3 objects to limit the
search for revisions.
|
void |
setSortBy(ApplicationRevisionSortBy sortBy)
The column name to sort the list results by: registerTime:
Sort the list results by when the revisions were registered with AWS
CodeDeploy. firstUsedTime: Sort the list results by when the
revisions were first used by in a deployment. lastUsedTime:
Sort the list results by when the revisions were last used in a
deployment.
|
void |
setSortBy(String sortBy)
The column name to sort the list results by: registerTime:
Sort the list results by when the revisions were registered with AWS
CodeDeploy. firstUsedTime: Sort the list results by when the
revisions were first used by in a deployment. lastUsedTime:
Sort the list results by when the revisions were last used in a
deployment.
|
void |
setSortOrder(SortOrder sortOrder)
The order to sort the list results by: ascending: Sort the
list results in ascending order. descending: Sort the list
results in descending order.
|
void |
setSortOrder(String sortOrder)
The order to sort the list results by: ascending: Sort the
list results in ascending order. descending: Sort the list
results in descending order.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListApplicationRevisionsRequest |
withApplicationName(String applicationName)
The name of an existing AWS CodeDeploy application within the AWS user
account.
|
ListApplicationRevisionsRequest |
withDeployed(ListStateFilterAction deployed)
Whether to list revisions based on whether the revision is the target
revision of an deployment group: include: List revisions that
are target revisions of a deployment group. exclude: Do not
list revisions that are target revisions of a deployment group.
ignore: List all revisions, regardless of whether they are target
revisions of a deployment group.
|
ListApplicationRevisionsRequest |
withDeployed(String deployed)
Whether to list revisions based on whether the revision is the target
revision of an deployment group: include: List revisions that
are target revisions of a deployment group. exclude: Do not
list revisions that are target revisions of a deployment group.
ignore: List all revisions, regardless of whether they are target
revisions of a deployment group.
|
ListApplicationRevisionsRequest |
withNextToken(String nextToken)
An identifier that was returned from the previous list application
revisions call, which can be used to return the next set of
applications in the list.
|
ListApplicationRevisionsRequest |
withS3Bucket(String s3Bucket)
A specific Amazon S3 bucket name to limit the search for revisions.
|
ListApplicationRevisionsRequest |
withS3KeyPrefix(String s3KeyPrefix)
A specific key prefix for the set of Amazon S3 objects to limit the
search for revisions.
|
ListApplicationRevisionsRequest |
withSortBy(ApplicationRevisionSortBy sortBy)
The column name to sort the list results by: registerTime:
Sort the list results by when the revisions were registered with AWS
CodeDeploy. firstUsedTime: Sort the list results by when the
revisions were first used by in a deployment. lastUsedTime:
Sort the list results by when the revisions were last used in a
deployment.
|
ListApplicationRevisionsRequest |
withSortBy(String sortBy)
The column name to sort the list results by: registerTime:
Sort the list results by when the revisions were registered with AWS
CodeDeploy. firstUsedTime: Sort the list results by when the
revisions were first used by in a deployment. lastUsedTime:
Sort the list results by when the revisions were last used in a
deployment.
|
ListApplicationRevisionsRequest |
withSortOrder(SortOrder sortOrder)
The order to sort the list results by: ascending: Sort the
list results in ascending order. descending: Sort the list
results in descending order.
|
ListApplicationRevisionsRequest |
withSortOrder(String sortOrder)
The order to sort the list results by: ascending: Sort the
list results in ascending order. descending: Sort the list
results in descending order.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getApplicationName()
Constraints:
Length: 1 - 100
public void setApplicationName(String applicationName)
Constraints:
Length: 1 - 100
applicationName - The name of an existing AWS CodeDeploy application within the AWS user
account.public ListApplicationRevisionsRequest withApplicationName(String applicationName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
applicationName - The name of an existing AWS CodeDeploy application within the AWS user
account.public String getSortBy()
If not specified or set to null, the results will be returned in an arbitrary order.
Constraints:
Allowed Values: registerTime, firstUsedTime, lastUsedTime
If not specified or set to null, the results will be returned in an arbitrary order.
ApplicationRevisionSortBypublic void setSortBy(String sortBy)
If not specified or set to null, the results will be returned in an arbitrary order.
Constraints:
Allowed Values: registerTime, firstUsedTime, lastUsedTime
sortBy - The column name to sort the list results by: If not specified or set to null, the results will be returned in an arbitrary order.
ApplicationRevisionSortBypublic ListApplicationRevisionsRequest withSortBy(String sortBy)
If not specified or set to null, the results will be returned in an arbitrary order.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: registerTime, firstUsedTime, lastUsedTime
sortBy - The column name to sort the list results by: If not specified or set to null, the results will be returned in an arbitrary order.
ApplicationRevisionSortBypublic void setSortBy(ApplicationRevisionSortBy sortBy)
If not specified or set to null, the results will be returned in an arbitrary order.
Constraints:
Allowed Values: registerTime, firstUsedTime, lastUsedTime
sortBy - The column name to sort the list results by: If not specified or set to null, the results will be returned in an arbitrary order.
ApplicationRevisionSortBypublic ListApplicationRevisionsRequest withSortBy(ApplicationRevisionSortBy sortBy)
If not specified or set to null, the results will be returned in an arbitrary order.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: registerTime, firstUsedTime, lastUsedTime
sortBy - The column name to sort the list results by: If not specified or set to null, the results will be returned in an arbitrary order.
ApplicationRevisionSortBypublic String getSortOrder()
If not specified, the results will be sorted in ascending order.
If set to null, the results will be sorted in an arbitrary order.
Constraints:
Allowed Values: ascending, descending
If not specified, the results will be sorted in ascending order.
If set to null, the results will be sorted in an arbitrary order.
SortOrderpublic void setSortOrder(String sortOrder)
If not specified, the results will be sorted in ascending order.
If set to null, the results will be sorted in an arbitrary order.
Constraints:
Allowed Values: ascending, descending
sortOrder - The order to sort the list results by: If not specified, the results will be sorted in ascending order.
If set to null, the results will be sorted in an arbitrary order.
SortOrderpublic ListApplicationRevisionsRequest withSortOrder(String sortOrder)
If not specified, the results will be sorted in ascending order.
If set to null, the results will be sorted in an arbitrary order.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ascending, descending
sortOrder - The order to sort the list results by: If not specified, the results will be sorted in ascending order.
If set to null, the results will be sorted in an arbitrary order.
SortOrderpublic void setSortOrder(SortOrder sortOrder)
If not specified, the results will be sorted in ascending order.
If set to null, the results will be sorted in an arbitrary order.
Constraints:
Allowed Values: ascending, descending
sortOrder - The order to sort the list results by: If not specified, the results will be sorted in ascending order.
If set to null, the results will be sorted in an arbitrary order.
SortOrderpublic ListApplicationRevisionsRequest withSortOrder(SortOrder sortOrder)
If not specified, the results will be sorted in ascending order.
If set to null, the results will be sorted in an arbitrary order.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ascending, descending
sortOrder - The order to sort the list results by: If not specified, the results will be sorted in ascending order.
If set to null, the results will be sorted in an arbitrary order.
SortOrderpublic String getS3Bucket()
If set to null, then all of the user's buckets will be searched.
If set to null, then all of the user's buckets will be searched.
public void setS3Bucket(String s3Bucket)
If set to null, then all of the user's buckets will be searched.
s3Bucket - A specific Amazon S3 bucket name to limit the search for revisions.
If set to null, then all of the user's buckets will be searched.
public ListApplicationRevisionsRequest withS3Bucket(String s3Bucket)
If set to null, then all of the user's buckets will be searched.
Returns a reference to this object so that method calls can be chained together.
s3Bucket - A specific Amazon S3 bucket name to limit the search for revisions.
If set to null, then all of the user's buckets will be searched.
public String getS3KeyPrefix()
public void setS3KeyPrefix(String s3KeyPrefix)
s3KeyPrefix - A specific key prefix for the set of Amazon S3 objects to limit the
search for revisions.public ListApplicationRevisionsRequest withS3KeyPrefix(String s3KeyPrefix)
Returns a reference to this object so that method calls can be chained together.
s3KeyPrefix - A specific key prefix for the set of Amazon S3 objects to limit the
search for revisions.public String getDeployed()
Constraints:
Allowed Values: include, exclude, ignore
ListStateFilterActionpublic void setDeployed(String deployed)
Constraints:
Allowed Values: include, exclude, ignore
deployed - Whether to list revisions based on whether the revision is the target
revision of an deployment group: ListStateFilterActionpublic ListApplicationRevisionsRequest withDeployed(String deployed)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: include, exclude, ignore
deployed - Whether to list revisions based on whether the revision is the target
revision of an deployment group: ListStateFilterActionpublic void setDeployed(ListStateFilterAction deployed)
Constraints:
Allowed Values: include, exclude, ignore
deployed - Whether to list revisions based on whether the revision is the target
revision of an deployment group: ListStateFilterActionpublic ListApplicationRevisionsRequest withDeployed(ListStateFilterAction deployed)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: include, exclude, ignore
deployed - Whether to list revisions based on whether the revision is the target
revision of an deployment group: ListStateFilterActionpublic String getNextToken()
public void setNextToken(String nextToken)
nextToken - An identifier that was returned from the previous list application
revisions call, which can be used to return the next set of
applications in the list.public ListApplicationRevisionsRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - An identifier that was returned from the previous list application
revisions call, which can be used to return the next set of
applications in the list.public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.