Interface AssociateNodeRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<AssociateNodeRequest.Builder,AssociateNodeRequest>, OpsWorksCmRequest.Builder, SdkBuilder<AssociateNodeRequest.Builder,AssociateNodeRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
AssociateNodeRequest

public static interface AssociateNodeRequest.Builder extends OpsWorksCmRequest.Builder, SdkPojo, CopyableBuilder<AssociateNodeRequest.Builder,AssociateNodeRequest>
  • Method Details

    • serverName

      AssociateNodeRequest.Builder serverName(String 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

      AssociateNodeRequest.Builder engineAttributes(Collection<EngineAttribute> 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 named default can exist.

      • CHEF_NODE_PUBLIC_KEY: A PEM-formatted public key. This key is required for the chef-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 named default can exist.

      • CHEF_NODE_PUBLIC_KEY: A PEM-formatted public key. This key is required for the chef-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(EngineAttribute... 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 named default can exist.

      • CHEF_NODE_PUBLIC_KEY: A PEM-formatted public key. This key is required for the chef-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 named default can exist.

      • CHEF_NODE_PUBLIC_KEY: A PEM-formatted public key. This key is required for the chef-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 named default can exist.

      • CHEF_NODE_PUBLIC_KEY: A PEM-formatted public key. This key is required for the chef-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.

      This is a convenience method that creates an instance of the EngineAttribute.Builder avoiding the need to create one manually via EngineAttribute.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to engineAttributes(List<EngineAttribute>).

      Parameters:
      engineAttributes - a consumer that will call methods on EngineAttribute.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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.