Interface UpdatePolicyResponse.Builder

    • Method Detail

      • policyStoreId

        UpdatePolicyResponse.Builder policyStoreId​(String policyStoreId)

        The ID of the policy store that contains the policy that was updated.

        Parameters:
        policyStoreId - The ID of the policy store that contains the policy that was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyId

        UpdatePolicyResponse.Builder policyId​(String policyId)

        The ID of the policy that was updated.

        Parameters:
        policyId - The ID of the policy that was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyType

        UpdatePolicyResponse.Builder policyType​(String policyType)

        The type of the policy that was updated.

        Parameters:
        policyType - The type of the policy that was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PolicyType, PolicyType
      • policyType

        UpdatePolicyResponse.Builder policyType​(PolicyType policyType)

        The type of the policy that was updated.

        Parameters:
        policyType - The type of the policy that was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PolicyType, PolicyType
      • principal

        UpdatePolicyResponse.Builder principal​(EntityIdentifier principal)

        The principal specified in the policy's scope. This element isn't included in the response when Principal isn't present in the policy content.

        Parameters:
        principal - The principal specified in the policy's scope. This element isn't included in the response when Principal isn't present in the policy content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resource

        UpdatePolicyResponse.Builder resource​(EntityIdentifier resource)

        The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.

        Parameters:
        resource - The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        UpdatePolicyResponse.Builder actions​(Collection<ActionIdentifier> actions)

        The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]} .

        Parameters:
        actions - The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]} .
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        UpdatePolicyResponse.Builder actions​(ActionIdentifier... actions)

        The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]} .

        Parameters:
        actions - The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]} .
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdDate

        UpdatePolicyResponse.Builder createdDate​(Instant createdDate)

        The date and time that the policy was originally created.

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

        UpdatePolicyResponse.Builder lastUpdatedDate​(Instant lastUpdatedDate)

        The date and time that the policy was most recently updated.

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

        UpdatePolicyResponse.Builder effect​(String effect)

        The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".

        Parameters:
        effect - The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PolicyEffect, PolicyEffect
      • effect

        UpdatePolicyResponse.Builder effect​(PolicyEffect effect)

        The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".

        Parameters:
        effect - The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PolicyEffect, PolicyEffect