Interface GetPolicyResponse.Builder

    • Method Detail

      • policyStoreId

        GetPolicyResponse.Builder policyStoreId​(String policyStoreId)

        The ID of the policy store that contains the policy that you want information about.

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

        GetPolicyResponse.Builder policyId​(String policyId)

        The unique ID of the policy that you want information about.

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

        GetPolicyResponse.Builder policyType​(String policyType)

        The type of the policy.

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

        GetPolicyResponse.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

        GetPolicyResponse.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.
      • definition

        GetPolicyResponse.Builder definition​(PolicyDefinitionDetail definition)

        The definition of the requested policy.

        Parameters:
        definition - The definition of the requested policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdDate

        GetPolicyResponse.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

        GetPolicyResponse.Builder lastUpdatedDate​(Instant lastUpdatedDate)

        The date and time that the policy was last updated.

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