Interface PolicyAttributeTypeDescription.Builder

    • Method Detail

      • attributeName

        PolicyAttributeTypeDescription.Builder attributeName​(String attributeName)

        The name of the attribute.

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

        PolicyAttributeTypeDescription.Builder attributeType​(String attributeType)

        The type of the attribute. For example, Boolean or Integer.

        Parameters:
        attributeType - The type of the attribute. For example, Boolean or Integer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        PolicyAttributeTypeDescription.Builder description​(String description)

        A description of the attribute.

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

        PolicyAttributeTypeDescription.Builder defaultValue​(String defaultValue)

        The default value of the attribute, if applicable.

        Parameters:
        defaultValue - The default value of the attribute, if applicable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cardinality

        PolicyAttributeTypeDescription.Builder cardinality​(String cardinality)

        The cardinality of the attribute.

        Valid values:

        • ONE(1) : Single value required

        • ZERO_OR_ONE(0..1) : Up to one value is allowed

        • ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed

        • ONE_OR_MORE(1..*0) : Required. Multiple values are allowed

        Parameters:
        cardinality - The cardinality of the attribute.

        Valid values:

        • ONE(1) : Single value required

        • ZERO_OR_ONE(0..1) : Up to one value is allowed

        • ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed

        • ONE_OR_MORE(1..*0) : Required. Multiple values are allowed

        Returns:
        Returns a reference to this object so that method calls can be chained together.