Interface AssociateNodeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociateNodeRequest.Builder,
,AssociateNodeRequest> OpsWorksCmRequest.Builder
,SdkBuilder<AssociateNodeRequest.Builder,
,AssociateNodeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateNodeRequest
-
Method Summary
Modifier and TypeMethodDescriptionengineAttributes
(Collection<EngineAttribute> engineAttributes) Engine attributes used for associating the node.engineAttributes
(Consumer<EngineAttribute.Builder>... engineAttributes) Engine attributes used for associating the node.engineAttributes
(EngineAttribute... engineAttributes) Engine attributes used for associating the node.The name of the node.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serverName
(String serverName) The name of the server with which to associate the node.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opsworkscm.model.OpsWorksCmRequest.Builder
build
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
-
serverName
The name of the server with which to associate the node.
- Parameters:
serverName
- The name of the server with which to associate the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeName
The name of the node.
- Parameters:
nodeName
- The name of the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineAttributes
Engine attributes used for associating the node.
Attributes accepted in a AssociateNode request for Chef
-
CHEF_ORGANIZATION
: The Chef organization with which the node is associated. By default only one organization nameddefault
can exist. -
CHEF_NODE_PUBLIC_KEY
: A PEM-formatted public key. This key is required for thechef-client
agent to access the Chef API.
Attributes accepted in a AssociateNode request for Puppet
-
PUPPET_NODE_CSR
: A PEM-formatted certificate-signing request (CSR) that is created by the node.
- Parameters:
engineAttributes
- Engine attributes used for associating the node.Attributes accepted in a AssociateNode request for Chef
-
CHEF_ORGANIZATION
: The Chef organization with which the node is associated. By default only one organization nameddefault
can exist. -
CHEF_NODE_PUBLIC_KEY
: A PEM-formatted public key. This key is required for thechef-client
agent to access the Chef API.
Attributes accepted in a AssociateNode request for Puppet
-
PUPPET_NODE_CSR
: A PEM-formatted certificate-signing request (CSR) that is created by the node.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
engineAttributes
Engine attributes used for associating the node.
Attributes accepted in a AssociateNode request for Chef
-
CHEF_ORGANIZATION
: The Chef organization with which the node is associated. By default only one organization nameddefault
can exist. -
CHEF_NODE_PUBLIC_KEY
: A PEM-formatted public key. This key is required for thechef-client
agent to access the Chef API.
Attributes accepted in a AssociateNode request for Puppet
-
PUPPET_NODE_CSR
: A PEM-formatted certificate-signing request (CSR) that is created by the node.
- Parameters:
engineAttributes
- Engine attributes used for associating the node.Attributes accepted in a AssociateNode request for Chef
-
CHEF_ORGANIZATION
: The Chef organization with which the node is associated. By default only one organization nameddefault
can exist. -
CHEF_NODE_PUBLIC_KEY
: A PEM-formatted public key. This key is required for thechef-client
agent to access the Chef API.
Attributes accepted in a AssociateNode request for Puppet
-
PUPPET_NODE_CSR
: A PEM-formatted certificate-signing request (CSR) that is created by the node.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
engineAttributes
AssociateNodeRequest.Builder engineAttributes(Consumer<EngineAttribute.Builder>... engineAttributes) Engine attributes used for associating the node.
Attributes accepted in a AssociateNode request for Chef
-
CHEF_ORGANIZATION
: The Chef organization with which the node is associated. By default only one organization nameddefault
can exist. -
CHEF_NODE_PUBLIC_KEY
: A PEM-formatted public key. This key is required for thechef-client
agent to access the Chef API.
Attributes accepted in a AssociateNode request for Puppet
-
PUPPET_NODE_CSR
: A PEM-formatted certificate-signing request (CSR) that is created by the node.
EngineAttribute.Builder
avoiding the need to create one manually viaEngineAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toengineAttributes(List<EngineAttribute>)
.- Parameters:
engineAttributes
- a consumer that will call methods onEngineAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
AssociateNodeRequest.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
AssociateNodeRequest.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.
-