public static interface DescribeCommandsRequest.Builder extends OpsWorksRequest.Builder, CopyableBuilder<DescribeCommandsRequest.Builder,DescribeCommandsRequest>
Modifier and Type | Method and Description |
---|---|
DescribeCommandsRequest.Builder |
commandIds(Collection<String> commandIds)
An array of command IDs.
|
DescribeCommandsRequest.Builder |
commandIds(String... commandIds)
An array of command IDs.
|
DescribeCommandsRequest.Builder |
deploymentId(String deploymentId)
The deployment ID.
|
DescribeCommandsRequest.Builder |
instanceId(String instanceId)
The instance ID.
|
DescribeCommandsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
DescribeCommandsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, build
DescribeCommandsRequest.Builder deploymentId(String deploymentId)
The deployment ID. If you include this parameter, DescribeCommands
returns a description of the
commands associated with the specified deployment.
deploymentId
- The deployment ID. If you include this parameter, DescribeCommands
returns a description
of the commands associated with the specified deployment.DescribeCommandsRequest.Builder instanceId(String instanceId)
The instance ID. If you include this parameter, DescribeCommands
returns a description of the
commands associated with the specified instance.
instanceId
- The instance ID. If you include this parameter, DescribeCommands
returns a description of
the commands associated with the specified instance.DescribeCommandsRequest.Builder commandIds(Collection<String> commandIds)
An array of command IDs. If you include this parameter, DescribeCommands
returns a description
of the specified commands. Otherwise, it returns a description of every command.
commandIds
- An array of command IDs. If you include this parameter, DescribeCommands
returns a
description of the specified commands. Otherwise, it returns a description of every command.DescribeCommandsRequest.Builder commandIds(String... commandIds)
An array of command IDs. If you include this parameter, DescribeCommands
returns a description
of the specified commands. Otherwise, it returns a description of every command.
commandIds
- An array of command IDs. If you include this parameter, DescribeCommands
returns a
description of the specified commands. Otherwise, it returns a description of every command.DescribeCommandsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.DescribeCommandsRequest.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.