@Generated(value="software.amazon.awssdk:codegen") public class ListApplicationRevisionsRequest extends CodeDeployRequest implements ToCopyableBuilder<ListApplicationRevisionsRequest.Builder,ListApplicationRevisionsRequest>
Represents the input of a ListApplicationRevisions operation.
Modifier and Type | Class and Description |
---|---|
static interface |
ListApplicationRevisionsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
applicationName()
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
|
static ListApplicationRevisionsRequest.Builder |
builder() |
ListStateFilterAction |
deployed()
Whether to list revisions based on whether the revision is the target revision of an deployment group:
|
String |
deployedString()
Whether to list revisions based on whether the revision is the target revision of an deployment group:
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
nextToken()
An identifier returned from the previous list application revisions call.
|
String |
s3Bucket()
An Amazon S3 bucket name to limit the search for revisions.
|
String |
s3KeyPrefix()
A key prefix for the set of Amazon S3 objects to limit the search for revisions.
|
static Class<? extends ListApplicationRevisionsRequest.Builder> |
serializableBuilderClass() |
ApplicationRevisionSortBy |
sortBy()
The column name to use to sort the list results:
|
String |
sortByString()
The column name to use to sort the list results:
|
SortOrder |
sortOrder()
The order in which to sort the list results:
|
String |
sortOrderString()
The order in which to sort the list results:
|
ListApplicationRevisionsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public String applicationName()
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
public ApplicationRevisionSortBy sortBy()
The column name to use to sort the list results:
registerTime: Sort by the time the revisions were registered with AWS CodeDeploy.
firstUsedTime: Sort by the time the revisions were first used in a deployment.
lastUsedTime: Sort by the time the revisions were last used in a deployment.
If not specified or set to null, the results will be returned in an arbitrary order.
If the service returns an enum value that is not available in the current SDK version, sortBy
will
return ApplicationRevisionSortBy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from sortByString()
.
registerTime: Sort by the time the revisions were registered with AWS CodeDeploy.
firstUsedTime: Sort by the time the revisions were first used in a deployment.
lastUsedTime: Sort by the time the revisions were last used in a deployment.
If not specified or set to null, the results will be returned in an arbitrary order.
ApplicationRevisionSortBy
public String sortByString()
The column name to use to sort the list results:
registerTime: Sort by the time the revisions were registered with AWS CodeDeploy.
firstUsedTime: Sort by the time the revisions were first used in a deployment.
lastUsedTime: Sort by the time the revisions were last used in a deployment.
If not specified or set to null, the results will be returned in an arbitrary order.
If the service returns an enum value that is not available in the current SDK version, sortBy
will
return ApplicationRevisionSortBy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from sortByString()
.
registerTime: Sort by the time the revisions were registered with AWS CodeDeploy.
firstUsedTime: Sort by the time the revisions were first used in a deployment.
lastUsedTime: Sort by the time the revisions were last used in a deployment.
If not specified or set to null, the results will be returned in an arbitrary order.
ApplicationRevisionSortBy
public SortOrder sortOrder()
The order in which to sort the list results:
ascending: ascending order.
descending: descending order.
If not specified, the results will be sorted in ascending order.
If set to null, the results will be sorted in an arbitrary order.
If the service returns an enum value that is not available in the current SDK version, sortOrder
will
return SortOrder.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sortOrderString()
.
ascending: ascending order.
descending: descending order.
If not specified, the results will be sorted in ascending order.
If set to null, the results will be sorted in an arbitrary order.
SortOrder
public String sortOrderString()
The order in which to sort the list results:
ascending: ascending order.
descending: descending order.
If not specified, the results will be sorted in ascending order.
If set to null, the results will be sorted in an arbitrary order.
If the service returns an enum value that is not available in the current SDK version, sortOrder
will
return SortOrder.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sortOrderString()
.
ascending: ascending order.
descending: descending order.
If not specified, the results will be sorted in ascending order.
If set to null, the results will be sorted in an arbitrary order.
SortOrder
public String s3Bucket()
An Amazon S3 bucket name to limit the search for revisions.
If set to null, all of the user's buckets will be searched.
If set to null, all of the user's buckets will be searched.
public String s3KeyPrefix()
A key prefix for the set of Amazon S3 objects to limit the search for revisions.
public 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.
If the service returns an enum value that is not available in the current SDK version, deployed
will
return ListStateFilterAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from deployedString()
.
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.
ListStateFilterAction
public String deployedString()
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.
If the service returns an enum value that is not available in the current SDK version, deployed
will
return ListStateFilterAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from deployedString()
.
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.
ListStateFilterAction
public String nextToken()
An identifier returned from the previous list application revisions call. It can be used to return the next set of applications in the list.
public ListApplicationRevisionsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListApplicationRevisionsRequest.Builder,ListApplicationRevisionsRequest>
toBuilder
in class CodeDeployRequest
public static ListApplicationRevisionsRequest.Builder builder()
public static Class<? extends ListApplicationRevisionsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.