Interface ResourcePolicy.Builder

    • Method Detail

      • policyName

        ResourcePolicy.Builder policyName​(String policyName)

        The name of the resource policy. Must be unique within a specific Amazon Web Services account.

        Parameters:
        policyName - The name of the resource policy. Must be unique within a specific Amazon Web Services account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyDocument

        ResourcePolicy.Builder policyDocument​(String policyDocument)

        The resource policy document, which can be up to 5kb in size.

        Parameters:
        policyDocument - The resource policy document, which can be up to 5kb in size.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyRevisionId

        ResourcePolicy.Builder policyRevisionId​(String policyRevisionId)

        Returns the current policy revision id for this policy name.

        Parameters:
        policyRevisionId - Returns the current policy revision id for this policy name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedTime

        ResourcePolicy.Builder lastUpdatedTime​(Instant lastUpdatedTime)

        When the policy was last updated, in Unix time seconds.

        Parameters:
        lastUpdatedTime - When the policy was last updated, in Unix time seconds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.