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.Builder
createTimeRange
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codedeploy.model.CodeDeployRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
applicationName
is specified, thendeploymentGroupName
must be specified. If it is not specified, thendeploymentGroupName
must not be specified.- Parameters:
applicationName
- The name of an CodeDeploy application associated with the user or Amazon Web Services account.If
applicationName
is specified, thendeploymentGroupName
must be specified. If it is not specified, thendeploymentGroupName
must 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
deploymentGroupName
is specified, thenapplicationName
must be specified. If it is not specified, thenapplicationName
must not be specified.- Parameters:
deploymentGroupName
- The name of a deployment group for the specified application.If
deploymentGroupName
is specified, thenapplicationName
must be specified. If it is not specified, thenapplicationName
must 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.Builder
avoiding the need to create one manually viaTimeRange.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-