Class ListApplicationRevisionsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codedeploy.model.CodeDeployRequest
-
- software.amazon.awssdk.services.codedeploy.model.ListApplicationRevisionsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListApplicationRevisionsRequest.Builder,ListApplicationRevisionsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListApplicationRevisionsRequest extends CodeDeployRequest implements ToCopyableBuilder<ListApplicationRevisionsRequest.Builder,ListApplicationRevisionsRequest>
Represents the input of a
ListApplicationRevisionsoperation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListApplicationRevisionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationName()The name of an CodeDeploy application associated with the user or Amazon Web Services account.static ListApplicationRevisionsRequest.Builderbuilder()ListStateFilterActiondeployed()Whether to list revisions based on whether the revision is the target revision of a deployment group:StringdeployedAsString()Whether to list revisions based on whether the revision is the target revision of a deployment group:booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnextToken()An identifier returned from the previousListApplicationRevisionscall.Strings3Bucket()An Amazon S3 bucket name to limit the search for revisions.Strings3KeyPrefix()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()ApplicationRevisionSortBysortBy()The column name to use to sort the list results:StringsortByAsString()The column name to use to sort the list results:SortOrdersortOrder()The order in which to sort the list results:StringsortOrderAsString()The order in which to sort the list results:ListApplicationRevisionsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
applicationName
public final String applicationName()
The name of an CodeDeploy application associated with the user or Amazon Web Services account.
- Returns:
- The name of an CodeDeploy application associated with the user or Amazon Web Services account.
-
sortBy
public final ApplicationRevisionSortBy sortBy()
The column name to use to sort the list results:
-
registerTime: Sort by the time the revisions were registered with 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,
sortBywill returnApplicationRevisionSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The column name to use to sort the list results:
-
registerTime: Sort by the time the revisions were registered with 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.
-
- See Also:
ApplicationRevisionSortBy
-
-
sortByAsString
public final String sortByAsString()
The column name to use to sort the list results:
-
registerTime: Sort by the time the revisions were registered with 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,
sortBywill returnApplicationRevisionSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The column name to use to sort the list results:
-
registerTime: Sort by the time the revisions were registered with 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.
-
- See Also:
ApplicationRevisionSortBy
-
-
sortOrder
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,
sortOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- 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.
-
- See Also:
SortOrder
-
-
sortOrderAsString
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,
sortOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- 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.
-
- See Also:
SortOrder
-
-
s3Bucket
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.
- Returns:
- An Amazon S3 bucket name to limit the search for revisions.
If set to null, all of the user's buckets are searched.
-
s3KeyPrefix
public final String s3KeyPrefix()
A key prefix for the set of Amazon S3 objects to limit the search for revisions.
- Returns:
- A key prefix for the set of Amazon S3 objects to limit the search for revisions.
-
deployed
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,
deployedwill returnListStateFilterAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeployedAsString().- Returns:
- 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.
-
- See Also:
ListStateFilterAction
-
-
deployedAsString
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,
deployedwill returnListStateFilterAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeployedAsString().- Returns:
- 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.
-
- See Also:
ListStateFilterAction
-
-
nextToken
public final String nextToken()
An identifier returned from the previous
ListApplicationRevisionscall. It can be used to return the next set of applications in the list.- Returns:
- An identifier returned from the previous
ListApplicationRevisionscall. It can be used to return the next set of applications in the list.
-
toBuilder
public ListApplicationRevisionsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListApplicationRevisionsRequest.Builder,ListApplicationRevisionsRequest>- Specified by:
toBuilderin classCodeDeployRequest
-
builder
public static ListApplicationRevisionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListApplicationRevisionsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-