Interface GetPolicyTemplateResponse.Builder

    • Method Detail

      • policyStoreId

        GetPolicyTemplateResponse.Builder policyStoreId​(String policyStoreId)

        The ID of the policy store that contains the policy template.

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

        GetPolicyTemplateResponse.Builder policyTemplateId​(String policyTemplateId)

        The ID of the policy template.

        Parameters:
        policyTemplateId - The ID of the policy template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        GetPolicyTemplateResponse.Builder description​(String description)

        The description of the policy template.

        Parameters:
        description - The description of the policy template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statement

        GetPolicyTemplateResponse.Builder statement​(String statement)

        The content of the body of the policy template written in the Cedar policy language.

        Parameters:
        statement - The content of the body of the policy template written in the Cedar policy language.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdDate

        GetPolicyTemplateResponse.Builder createdDate​(Instant createdDate)

        The date and time that the policy template was originally created.

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

        GetPolicyTemplateResponse.Builder lastUpdatedDate​(Instant lastUpdatedDate)

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

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