Interface AssociateNodeRequest.Builder

    • Method Detail

      • 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

        AssociateNodeRequest.Builder nodeName​(String 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).

        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:
        #engineAttributes(java.util.Collection)