Class ProtectedQuery
- java.lang.Object
-
- software.amazon.awssdk.services.cleanrooms.model.ProtectedQuery
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProtectedQuery.Builder,ProtectedQuery>
@Generated("software.amazon.awssdk:codegen") public final class ProtectedQuery extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProtectedQuery.Builder,ProtectedQuery>
The parameters for an Clean Rooms protected query.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProtectedQuery.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProtectedQuery.Builderbuilder()InstantcreateTime()The time at which the protected query was created.DifferentialPrivacyParametersdifferentialPrivacy()The sensitivity parameters of the differential privacy results of the protected query.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ProtectedQueryErrorerror()An error thrown by the protected query.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier for a protected query instance.StringmembershipArn()The ARN of the membership.StringmembershipId()The identifier for the membership.ProtectedQueryResultresult()The result of the protected query.ProtectedQueryResultConfigurationresultConfiguration()Contains any details needed to write the query results.List<SdkField<?>>sdkFields()static Class<? extends ProtectedQuery.Builder>serializableBuilderClass()ProtectedQuerySQLParameterssqlParameters()The protected query SQL parameters.ProtectedQueryStatisticsstatistics()Statistics about protected query execution.ProtectedQueryStatusstatus()The status of the query.StringstatusAsString()The status of the query.ProtectedQuery.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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.
-
status
public final ProtectedQueryStatus status()
The status of the query.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnProtectedQueryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the query.
- See Also:
ProtectedQueryStatus
-
statusAsString
public final String statusAsString()
The status of the query.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnProtectedQueryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the query.
- See Also:
ProtectedQueryStatus
-
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.
-
toBuilder
public ProtectedQuery.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProtectedQuery.Builder,ProtectedQuery>
-
builder
public static ProtectedQuery.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProtectedQuery.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-