Interface ParameterDefinition.Builder

  • Method Details

    • name

      The name of the parameter.

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

      The data type of the parameter. Valid values are String, StringList, Number, NumberList, Arn, and ArnList.

      Parameters:
      type - The data type of the parameter. Valid values are String, StringList, Number, NumberList, Arn, and ArnList.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The data type of the parameter. Valid values are String, StringList, Number, NumberList, Arn, and ArnList.

      Parameters:
      type - The data type of the parameter. Valid values are String, StringList, Number, NumberList, Arn, and ArnList.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • subType

      An optional subtype that further constrains the values that are allowed for the parameter.

      Parameters:
      subType - An optional subtype that further constrains the values that are allowed for the parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      ParameterDefinition.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.
    • isRequired

      ParameterDefinition.Builder isRequired(Boolean isRequired)

      Specifies whether you must supply a value for the parameter when you create a role from the template.

      Parameters:
      isRequired - Specifies whether you must supply a value for the parameter when you create a role from the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultValue

      ParameterDefinition.Builder defaultValue(String defaultValue)

      The value that the service uses for the parameter when you do not supply one.

      Parameters:
      defaultValue - The value that the service uses for the parameter when you do not supply one.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • immutable

      ParameterDefinition.Builder immutable(Boolean immutable)

      Specifies whether you can change the parameter value after you create the role.

      Parameters:
      immutable - Specifies whether you can change the parameter value after you create the role.
      Returns:
      Returns a reference to this object so that method calls can be chained together.