Interface ListDeploymentsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeDeployRequest.Builder,CopyableBuilder<ListDeploymentsRequest.Builder,,ListDeploymentsRequest> SdkBuilder<ListDeploymentsRequest.Builder,,ListDeploymentsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListDeploymentsRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) The name of an CodeDeploy application associated with the user or Amazon Web Services account.default ListDeploymentsRequest.BuildercreateTimeRange(Consumer<TimeRange.Builder> createTimeRange) A time range (start and end) for returning a subset of the list of deployments.createTimeRange(TimeRange createTimeRange) A time range (start and end) for returning a subset of the list of deployments.deploymentGroupName(String deploymentGroupName) The name of a deployment group for the specified application.externalId(String externalId) The unique ID of an external resource for returning deployments linked to the external resource.includeOnlyStatuses(Collection<DeploymentStatus> includeOnlyStatuses) A subset of deployments to list by status:includeOnlyStatuses(DeploymentStatus... includeOnlyStatuses) A subset of deployments to list by status:includeOnlyStatusesWithStrings(String... includeOnlyStatuses) A subset of deployments to list by status:includeOnlyStatusesWithStrings(Collection<String> includeOnlyStatuses) A subset of deployments to list by status:An identifier returned from the previous list deployments call.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codedeploy.model.CodeDeployRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
applicationName
The name of an CodeDeploy application associated with the user or Amazon Web Services account.
If
applicationNameis specified, thendeploymentGroupNamemust be specified. If it is not specified, thendeploymentGroupNamemust not be specified.- Parameters:
applicationName- The name of an CodeDeploy application associated with the user or Amazon Web Services account.If
applicationNameis specified, thendeploymentGroupNamemust be specified. If it is not specified, thendeploymentGroupNamemust not be specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentGroupName
The name of a deployment group for the specified application.
If
deploymentGroupNameis specified, thenapplicationNamemust be specified. If it is not specified, thenapplicationNamemust not be specified.- Parameters:
deploymentGroupName- The name of a deployment group for the specified application.If
deploymentGroupNameis specified, thenapplicationNamemust be specified. If it is not specified, thenapplicationNamemust not be specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalId
The unique ID of an external resource for returning deployments linked to the external resource.
- Parameters:
externalId- The unique ID of an external resource for returning deployments linked to the external resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeOnlyStatusesWithStrings
ListDeploymentsRequest.Builder includeOnlyStatusesWithStrings(Collection<String> includeOnlyStatuses) A subset of deployments to list by status:
-
Created: Include created deployments in the resulting list. -
Queued: Include queued deployments in the resulting list. -
In Progress: Include in-progress deployments in the resulting list. -
Succeeded: Include successful deployments in the resulting list. -
Failed: Include failed deployments in the resulting list. -
Stopped: Include stopped deployments in the resulting list.
- Parameters:
includeOnlyStatuses- A subset of deployments to list by status:-
Created: Include created deployments in the resulting list. -
Queued: Include queued deployments in the resulting list. -
In Progress: Include in-progress deployments in the resulting list. -
Succeeded: Include successful deployments in the resulting list. -
Failed: Include failed deployments in the resulting list. -
Stopped: Include stopped deployments in the resulting list.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
includeOnlyStatusesWithStrings
A subset of deployments to list by status:
-
Created: Include created deployments in the resulting list. -
Queued: Include queued deployments in the resulting list. -
In Progress: Include in-progress deployments in the resulting list. -
Succeeded: Include successful deployments in the resulting list. -
Failed: Include failed deployments in the resulting list. -
Stopped: Include stopped deployments in the resulting list.
- Parameters:
includeOnlyStatuses- A subset of deployments to list by status:-
Created: Include created deployments in the resulting list. -
Queued: Include queued deployments in the resulting list. -
In Progress: Include in-progress deployments in the resulting list. -
Succeeded: Include successful deployments in the resulting list. -
Failed: Include failed deployments in the resulting list. -
Stopped: Include stopped deployments in the resulting list.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
includeOnlyStatuses
ListDeploymentsRequest.Builder includeOnlyStatuses(Collection<DeploymentStatus> includeOnlyStatuses) A subset of deployments to list by status:
-
Created: Include created deployments in the resulting list. -
Queued: Include queued deployments in the resulting list. -
In Progress: Include in-progress deployments in the resulting list. -
Succeeded: Include successful deployments in the resulting list. -
Failed: Include failed deployments in the resulting list. -
Stopped: Include stopped deployments in the resulting list.
- Parameters:
includeOnlyStatuses- A subset of deployments to list by status:-
Created: Include created deployments in the resulting list. -
Queued: Include queued deployments in the resulting list. -
In Progress: Include in-progress deployments in the resulting list. -
Succeeded: Include successful deployments in the resulting list. -
Failed: Include failed deployments in the resulting list. -
Stopped: Include stopped deployments in the resulting list.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
includeOnlyStatuses
A subset of deployments to list by status:
-
Created: Include created deployments in the resulting list. -
Queued: Include queued deployments in the resulting list. -
In Progress: Include in-progress deployments in the resulting list. -
Succeeded: Include successful deployments in the resulting list. -
Failed: Include failed deployments in the resulting list. -
Stopped: Include stopped deployments in the resulting list.
- Parameters:
includeOnlyStatuses- A subset of deployments to list by status:-
Created: Include created deployments in the resulting list. -
Queued: Include queued deployments in the resulting list. -
In Progress: Include in-progress deployments in the resulting list. -
Succeeded: Include successful deployments in the resulting list. -
Failed: Include failed deployments in the resulting list. -
Stopped: Include stopped deployments in the resulting list.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
createTimeRange
A time range (start and end) for returning a subset of the list of deployments.
- Parameters:
createTimeRange- A time range (start and end) for returning a subset of the list of deployments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTimeRange
A time range (start and end) for returning a subset of the list of deployments.
This is a convenience method that creates an instance of theTimeRange.Builderavoiding the need to create one manually viaTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreateTimeRange(TimeRange).- Parameters:
createTimeRange- a consumer that will call methods onTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An identifier returned from the previous list deployments call. It can be used to return the next set of deployments in the list.
- Parameters:
nextToken- An identifier returned from the previous list deployments call. It can be used to return the next set of deployments in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListDeploymentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListDeploymentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-