public static interface ListDeploymentsRequest.Builder extends CodeDeployRequest.Builder, CopyableBuilder<ListDeploymentsRequest.Builder,ListDeploymentsRequest>
Modifier and Type | Method and Description |
---|---|
ListDeploymentsRequest.Builder |
applicationName(String applicationName)
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
|
default ListDeploymentsRequest.Builder |
createTimeRange(Consumer<TimeRange.Builder> createTimeRange)
A time range (start and end) for returning a subset of the list of deployments.
|
ListDeploymentsRequest.Builder |
createTimeRange(TimeRange createTimeRange)
A time range (start and end) for returning a subset of the list of deployments.
|
ListDeploymentsRequest.Builder |
deploymentGroupName(String deploymentGroupName)
The name of an existing deployment group for the specified application.
|
ListDeploymentsRequest.Builder |
includeOnlyStatuses(Collection<String> includeOnlyStatuses)
A subset of deployments to list by status:
|
ListDeploymentsRequest.Builder |
includeOnlyStatuses(String... includeOnlyStatuses)
A subset of deployments to list by status:
|
ListDeploymentsRequest.Builder |
nextToken(String nextToken)
An identifier returned from the previous list deployments call.
|
ListDeploymentsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ListDeploymentsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, build
ListDeploymentsRequest.Builder applicationName(String applicationName)
The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.
applicationName
- The name of an AWS CodeDeploy application associated with the applicable IAM user or AWS account.ListDeploymentsRequest.Builder deploymentGroupName(String deploymentGroupName)
The name of an existing deployment group for the specified application.
deploymentGroupName
- The name of an existing deployment group for the specified application.ListDeploymentsRequest.Builder includeOnlyStatuses(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.
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.
ListDeploymentsRequest.Builder includeOnlyStatuses(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.
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.
ListDeploymentsRequest.Builder createTimeRange(TimeRange createTimeRange)
A time range (start and end) for returning a subset of the list of deployments.
createTimeRange
- A time range (start and end) for returning a subset of the list of deployments.default ListDeploymentsRequest.Builder createTimeRange(Consumer<TimeRange.Builder> createTimeRange)
A time range (start and end) for returning a subset of the list of deployments.
This is a convenience that creates an instance of theTimeRange.Builder
avoiding the need to create
one manually via TimeRange.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to createTimeRange(TimeRange)
.createTimeRange
- a consumer that will call methods on TimeRange.Builder
createTimeRange(TimeRange)
ListDeploymentsRequest.Builder nextToken(String nextToken)
An identifier returned from the previous list deployments call. It can be used to return the next set of deployments in the list.
nextToken
- An identifier returned from the previous list deployments call. It can be used to return the next set
of deployments in the list.ListDeploymentsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.ListDeploymentsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.