Interface PolicyItem.Builder

    • Method Detail

      • policyStoreId

        PolicyItem.Builder policyStoreId​(String policyStoreId)

        The identifier of the PolicyStore where the policy you want information about is stored.

        Parameters:
        policyStoreId - The identifier of the PolicyStore where the policy you want information about is stored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyId

        PolicyItem.Builder policyId​(String policyId)

        The identifier of the policy you want information about.

        Parameters:
        policyId - The identifier of the policy you want information about.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyType

        PolicyItem.Builder policyType​(String policyType)

        The type of the policy. This is one of the following values:

        • static

        • templateLinked

        Parameters:
        policyType - The type of the policy. This is one of the following values:

        • static

        • templateLinked

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

        PolicyItem.Builder policyType​(PolicyType policyType)

        The type of the policy. This is one of the following values:

        • static

        • templateLinked

        Parameters:
        policyType - The type of the policy. This is one of the following values:

        • static

        • templateLinked

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

        PolicyItem.Builder principal​(EntityIdentifier principal)

        The principal associated with the policy.

        Parameters:
        principal - The principal associated with the policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resource

        PolicyItem.Builder resource​(EntityIdentifier resource)

        The resource associated with the policy.

        Parameters:
        resource - The resource associated with the policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • definition

        PolicyItem.Builder definition​(PolicyDefinitionItem definition)

        The policy definition of an item in the list of policies returned.

        Parameters:
        definition - The policy definition of an item in the list of policies returned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdDate

        PolicyItem.Builder createdDate​(Instant createdDate)

        The date and time the policy was created.

        Parameters:
        createdDate - The date and time the policy was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedDate

        PolicyItem.Builder lastUpdatedDate​(Instant lastUpdatedDate)

        The date and time the policy was most recently updated.

        Parameters:
        lastUpdatedDate - The date and time the policy was most recently updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.