@Generated(value="software.amazon.awssdk:codegen") public final 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 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 a deployment group:
|
String |
deployedAsString()
Whether to list revisions based on whether the revision is the target revision of a deployment group:
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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
ListApplicationRevisions 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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListApplicationRevisionsRequest.Builder> |
serializableBuilderClass() |
ApplicationRevisionSortBy |
sortBy()
The column name to use to sort the list results:
|
String |
sortByAsString()
The column name to use to sort the list results:
|
SortOrder |
sortOrder()
The order in which to sort the list results:
|
String |
sortOrderAsString()
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()
Returns a string representation of this object.
|
overrideConfiguration
copy
public final String applicationName()
The name of an AWS CodeDeploy application associated with the IAM user or AWS account.
public final 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 are 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 sortByAsString()
.
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 are returned in an arbitrary order.
ApplicationRevisionSortBy
public final String sortByAsString()
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 are 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 sortByAsString()
.
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 are returned in an arbitrary order.
ApplicationRevisionSortBy
public final SortOrder sortOrder()
The order in which to sort the list results:
ascending
: ascending order.
descending
: descending order.
If not specified, the results are sorted in ascending order.
If set to null, the results are 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
sortOrderAsString()
.
ascending
: ascending order.
descending
: descending order.
If not specified, the results are sorted in ascending order.
If set to null, the results are sorted in an arbitrary order.
SortOrder
public final String sortOrderAsString()
The order in which to sort the list results:
ascending
: ascending order.
descending
: descending order.
If not specified, the results are sorted in ascending order.
If set to null, the results are 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
sortOrderAsString()
.
ascending
: ascending order.
descending
: descending order.
If not specified, the results are sorted in ascending order.
If set to null, the results are sorted in an arbitrary order.
SortOrder
public final String s3Bucket()
An Amazon S3 bucket name to limit the search for revisions.
If set to null, all of the user's buckets are searched.
If set to null, all of the user's buckets are searched.
public final String s3KeyPrefix()
A key prefix for the set of Amazon S3 objects to limit the search for revisions.
public final ListStateFilterAction deployed()
Whether to list revisions based on whether the revision is the target revision of a 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 deployedAsString()
.
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 final String deployedAsString()
Whether to list revisions based on whether the revision is the target revision of a 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 deployedAsString()
.
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 final String nextToken()
An identifier returned from the previous ListApplicationRevisions
call. It can be used to return the
next set of applications in the list.
ListApplicationRevisions
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 final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
public final <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 © 2021 Amazon Web Services, Inc. All Rights Reserved.