Class PutDomainPermissionsPolicyRequest

    • Method Detail

      • domain

        public final String domain()

        The name of the domain on which to set the resource policy.

        Returns:
        The name of the domain on which to set the resource policy.
      • domainOwner

        public final String domainOwner()

        The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

        Returns:
        The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
      • policyRevision

        public final String policyRevision()

        The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.

        Returns:
        The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.
      • policyDocument

        public final String policyDocument()

        A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.

        Returns:
        A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided domain.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object