Class ProtectedQuery

    • Method Detail

      • id

        public final String id()

        The identifier for a protected query instance.

        Returns:
        The identifier for a protected query instance.
      • membershipId

        public final String membershipId()

        The identifier for the membership.

        Returns:
        The identifier for the membership.
      • membershipArn

        public final String membershipArn()

        The ARN of the membership.

        Returns:
        The ARN of the membership.
      • createTime

        public final Instant createTime()

        The time at which the protected query was created.

        Returns:
        The time at which the protected query was created.
      • sqlParameters

        public final ProtectedQuerySQLParameters sqlParameters()

        The protected query SQL parameters.

        Returns:
        The protected query SQL parameters.
      • resultConfiguration

        public final ProtectedQueryResultConfiguration resultConfiguration()

        Contains any details needed to write the query results.

        Returns:
        Contains any details needed to write the query results.
      • statistics

        public final ProtectedQueryStatistics statistics()

        Statistics about protected query execution.

        Returns:
        Statistics about protected query execution.
      • result

        public final ProtectedQueryResult result()

        The result of the protected query.

        Returns:
        The result of the protected query.
      • error

        public final ProtectedQueryError error()

        An error thrown by the protected query.

        Returns:
        An error thrown by the protected query.
      • differentialPrivacy

        public final DifferentialPrivacyParameters differentialPrivacy()

        The sensitivity parameters of the differential privacy results of the protected query.

        Returns:
        The sensitivity parameters of the differential privacy results of the protected query.
      • 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)