Interface Parameter.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Parameter.Builder,Parameter>, SdkBuilder<Parameter.Builder,Parameter>, SdkPojo
Enclosing class:
Parameter

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

    • parameterName

      Parameter.Builder parameterName(String parameterName)

      The name of the parameter.

      Parameters:
      parameterName - The name of the parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parameterType

      Parameter.Builder parameterType(String parameterType)

      Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.

      Parameters:
      parameterType - Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • parameterType

      Parameter.Builder parameterType(ParameterType parameterType)

      Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.

      Parameters:
      parameterType - Determines whether the parameter can be applied to any nodes, or only nodes of a particular type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • parameterValue

      Parameter.Builder parameterValue(String parameterValue)

      The value for the parameter.

      Parameters:
      parameterValue - The value for the parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeTypeSpecificValues

      Parameter.Builder nodeTypeSpecificValues(Collection<NodeTypeSpecificValue> nodeTypeSpecificValues)

      A list of node types, and specific parameter values for each node.

      Parameters:
      nodeTypeSpecificValues - A list of node types, and specific parameter values for each node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeTypeSpecificValues

      Parameter.Builder nodeTypeSpecificValues(NodeTypeSpecificValue... nodeTypeSpecificValues)

      A list of node types, and specific parameter values for each node.

      Parameters:
      nodeTypeSpecificValues - A list of node types, and specific parameter values for each node.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeTypeSpecificValues

      Parameter.Builder nodeTypeSpecificValues(Consumer<NodeTypeSpecificValue.Builder>... nodeTypeSpecificValues)

      A list of node types, and specific parameter values for each node.

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

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

      Parameters:
      nodeTypeSpecificValues - a consumer that will call methods on NodeTypeSpecificValue.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      Parameter.Builder description(String description)

      A description of the parameter

      Parameters:
      description - A description of the parameter
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      Parameter.Builder source(String source)

      How the parameter is defined. For example, system denotes a system-defined parameter.

      Parameters:
      source - How the parameter is defined. For example, system denotes a system-defined parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataType

      Parameter.Builder dataType(String dataType)

      The data type of the parameter. For example, integer:

      Parameters:
      dataType - The data type of the parameter. For example, integer:
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedValues

      Parameter.Builder allowedValues(String allowedValues)

      A range of values within which the parameter can be set.

      Parameters:
      allowedValues - A range of values within which the parameter can be set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isModifiable

      Parameter.Builder isModifiable(String isModifiable)

      Whether the customer is allowed to modify the parameter.

      Parameters:
      isModifiable - Whether the customer is allowed to modify the parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • isModifiable

      Parameter.Builder isModifiable(IsModifiable isModifiable)

      Whether the customer is allowed to modify the parameter.

      Parameters:
      isModifiable - Whether the customer is allowed to modify the parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • changeType

      Parameter.Builder changeType(String changeType)

      The conditions under which changes to this parameter can be applied. For example, requires-reboot indicates that a new value for this parameter will only take effect if a node is rebooted.

      Parameters:
      changeType - The conditions under which changes to this parameter can be applied. For example, requires-reboot indicates that a new value for this parameter will only take effect if a node is rebooted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • changeType

      Parameter.Builder changeType(ChangeType changeType)

      The conditions under which changes to this parameter can be applied. For example, requires-reboot indicates that a new value for this parameter will only take effect if a node is rebooted.

      Parameters:
      changeType - The conditions under which changes to this parameter can be applied. For example, requires-reboot indicates that a new value for this parameter will only take effect if a node is rebooted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: