Interface GetPolicyVersionResponse.Builder

    • Method Detail

      • policyArn

        GetPolicyVersionResponse.Builder policyArn​(String policyArn)

        The policy ARN.

        Parameters:
        policyArn - The policy ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyName

        GetPolicyVersionResponse.Builder policyName​(String policyName)

        The policy name.

        Parameters:
        policyName - The policy name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyDocument

        GetPolicyVersionResponse.Builder policyDocument​(String policyDocument)

        The JSON document that describes the policy.

        Parameters:
        policyDocument - The JSON document that describes the policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyVersionId

        GetPolicyVersionResponse.Builder policyVersionId​(String policyVersionId)

        The policy version ID.

        Parameters:
        policyVersionId - The policy version ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isDefaultVersion

        GetPolicyVersionResponse.Builder isDefaultVersion​(Boolean isDefaultVersion)

        Specifies whether the policy version is the default.

        Parameters:
        isDefaultVersion - Specifies whether the policy version is the default.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDate

        GetPolicyVersionResponse.Builder creationDate​(Instant creationDate)

        The date the policy was created.

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

        GetPolicyVersionResponse.Builder lastModifiedDate​(Instant lastModifiedDate)

        The date the policy was last modified.

        Parameters:
        lastModifiedDate - The date the policy was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • generationId

        GetPolicyVersionResponse.Builder generationId​(String generationId)

        The generation ID of the policy version.

        Parameters:
        generationId - The generation ID of the policy version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.