public static interface AssignInstanceRequest.Builder extends OpsWorksRequest.Builder, SdkPojo, CopyableBuilder<AssignInstanceRequest.Builder,AssignInstanceRequest>
Modifier and Type | Method and Description |
---|---|
AssignInstanceRequest.Builder |
instanceId(String instanceId)
The instance ID.
|
AssignInstanceRequest.Builder |
layerIds(Collection<String> layerIds)
The layer ID, which must correspond to a custom layer.
|
AssignInstanceRequest.Builder |
layerIds(String... layerIds)
The layer ID, which must correspond to a custom layer.
|
AssignInstanceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AssignInstanceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
AssignInstanceRequest.Builder instanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.AssignInstanceRequest.Builder layerIds(Collection<String> layerIds)
The layer ID, which must correspond to a custom layer. You cannot assign a registered instance to a built-in layer.
layerIds
- The layer ID, which must correspond to a custom layer. You cannot assign a registered instance to a
built-in layer.AssignInstanceRequest.Builder layerIds(String... layerIds)
The layer ID, which must correspond to a custom layer. You cannot assign a registered instance to a built-in layer.
layerIds
- The layer ID, which must correspond to a custom layer. You cannot assign a registered instance to a
built-in layer.AssignInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AssignInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.