Class ProjectPolicy

    • Method Detail

      • projectArn

        public final String projectArn()

        The Amazon Resource Name (ARN) of the project to which the project policy is attached.

        Returns:
        The Amazon Resource Name (ARN) of the project to which the project policy is attached.
      • policyName

        public final String policyName()

        The name of the project policy.

        Returns:
        The name of the project policy.
      • policyRevisionId

        public final String policyRevisionId()

        The revision ID of the project policy.

        Returns:
        The revision ID of the project policy.
      • policyDocument

        public final String policyDocument()

        The JSON document for the project policy.

        Returns:
        The JSON document for the project policy.
      • creationTimestamp

        public final Instant creationTimestamp()

        The Unix datetime for the creation of the project policy.

        Returns:
        The Unix datetime for the creation of the project policy.
      • lastUpdatedTimestamp

        public final Instant lastUpdatedTimestamp()

        The Unix datetime for when the project policy was last updated.

        Returns:
        The Unix datetime for when the project policy was last updated.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)