Interface ResourcePolicy.Builder

    • Method Detail

      • policyName

        ResourcePolicy.Builder policyName​(String policyName)

        The name of the resource policy.

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

        ResourcePolicy.Builder policyDocument​(String policyDocument)

        The details of the policy.

        Parameters:
        policyDocument - The details of the policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedTime

        ResourcePolicy.Builder lastUpdatedTime​(Long lastUpdatedTime)

        Timestamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

        Parameters:
        lastUpdatedTime - Timestamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.