Interface CreateFacetRequest.Builder

    • Method Detail

      • schemaArn

        CreateFacetRequest.Builder schemaArn​(String schemaArn)

        The schema ARN in which the new Facet will be created. For more information, see arns.

        Parameters:
        schemaArn - The schema ARN in which the new Facet will be created. For more information, see arns.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        CreateFacetRequest.Builder name​(String name)

        The name of the Facet, which is unique for a given schema.

        Parameters:
        name - The name of the Facet, which is unique for a given schema.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributes

        CreateFacetRequest.Builder attributes​(Collection<FacetAttribute> attributes)

        The attributes that are associated with the Facet.

        Parameters:
        attributes - The attributes that are associated with the Facet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributes

        CreateFacetRequest.Builder attributes​(FacetAttribute... attributes)

        The attributes that are associated with the Facet.

        Parameters:
        attributes - The attributes that are associated with the Facet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • objectType

        CreateFacetRequest.Builder objectType​(String objectType)

        Specifies whether a given object created from this facet is of type node, leaf node, policy or index.

        • Node: Can have multiple children but one parent.

        • Leaf node: Cannot have children but can have multiple parents.

        • Policy: Allows you to store a policy document and policy type. For more information, see Policies.

        • Index: Can be created with the Index API.

        Parameters:
        objectType - Specifies whether a given object created from this facet is of type node, leaf node, policy or index.

        • Node: Can have multiple children but one parent.

        • Leaf node: Cannot have children but can have multiple parents.

        • Policy: Allows you to store a policy document and policy type. For more information, see Policies.

        • Index: Can be created with the Index API.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ObjectType, ObjectType
      • objectType

        CreateFacetRequest.Builder objectType​(ObjectType objectType)

        Specifies whether a given object created from this facet is of type node, leaf node, policy or index.

        • Node: Can have multiple children but one parent.

        • Leaf node: Cannot have children but can have multiple parents.

        • Policy: Allows you to store a policy document and policy type. For more information, see Policies.

        • Index: Can be created with the Index API.

        Parameters:
        objectType - Specifies whether a given object created from this facet is of type node, leaf node, policy or index.

        • Node: Can have multiple children but one parent.

        • Leaf node: Cannot have children but can have multiple parents.

        • Policy: Allows you to store a policy document and policy type. For more information, see Policies.

        • Index: Can be created with the Index API.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ObjectType, ObjectType
      • facetStyle

        CreateFacetRequest.Builder facetStyle​(String facetStyle)

        There are two different styles that you can define on any given facet, Static and Dynamic. For static facets, all attributes must be defined in the schema. For dynamic facets, attributes can be defined during data plane operations.

        Parameters:
        facetStyle - There are two different styles that you can define on any given facet, Static and Dynamic. For static facets, all attributes must be defined in the schema. For dynamic facets, attributes can be defined during data plane operations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FacetStyle, FacetStyle
      • facetStyle

        CreateFacetRequest.Builder facetStyle​(FacetStyle facetStyle)

        There are two different styles that you can define on any given facet, Static and Dynamic. For static facets, all attributes must be defined in the schema. For dynamic facets, attributes can be defined during data plane operations.

        Parameters:
        facetStyle - There are two different styles that you can define on any given facet, Static and Dynamic. For static facets, all attributes must be defined in the schema. For dynamic facets, attributes can be defined during data plane operations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FacetStyle, FacetStyle