@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProtectedQuery extends Object implements Serializable, Cloneable, StructuredPojo
The parameters for an Clean Rooms protected query.
Constructor and Description |
---|
ProtectedQuery() |
Modifier and Type | Method and Description |
---|---|
ProtectedQuery |
clone() |
boolean |
equals(Object obj) |
Date |
getCreateTime()
The time at which the protected query was created.
|
DifferentialPrivacyParameters |
getDifferentialPrivacy()
The sensitivity parameters of the differential privacy results of the protected query.
|
ProtectedQueryError |
getError()
An error thrown by the protected query.
|
String |
getId()
The identifier for a protected query instance.
|
String |
getMembershipArn()
The ARN of the membership.
|
String |
getMembershipId()
The identifier for the membership.
|
ProtectedQueryResult |
getResult()
The result of the protected query.
|
ProtectedQueryResultConfiguration |
getResultConfiguration()
Contains any details needed to write the query results.
|
ProtectedQuerySQLParameters |
getSqlParameters()
The protected query SQL parameters.
|
ProtectedQueryStatistics |
getStatistics()
Statistics about protected query execution.
|
String |
getStatus()
The status of the query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreateTime(Date createTime)
The time at which the protected query was created.
|
void |
setDifferentialPrivacy(DifferentialPrivacyParameters differentialPrivacy)
The sensitivity parameters of the differential privacy results of the protected query.
|
void |
setError(ProtectedQueryError error)
An error thrown by the protected query.
|
void |
setId(String id)
The identifier for a protected query instance.
|
void |
setMembershipArn(String membershipArn)
The ARN of the membership.
|
void |
setMembershipId(String membershipId)
The identifier for the membership.
|
void |
setResult(ProtectedQueryResult result)
The result of the protected query.
|
void |
setResultConfiguration(ProtectedQueryResultConfiguration resultConfiguration)
Contains any details needed to write the query results.
|
void |
setSqlParameters(ProtectedQuerySQLParameters sqlParameters)
The protected query SQL parameters.
|
void |
setStatistics(ProtectedQueryStatistics statistics)
Statistics about protected query execution.
|
void |
setStatus(String status)
The status of the query.
|
String |
toString()
Returns a string representation of this object.
|
ProtectedQuery |
withCreateTime(Date createTime)
The time at which the protected query was created.
|
ProtectedQuery |
withDifferentialPrivacy(DifferentialPrivacyParameters differentialPrivacy)
The sensitivity parameters of the differential privacy results of the protected query.
|
ProtectedQuery |
withError(ProtectedQueryError error)
An error thrown by the protected query.
|
ProtectedQuery |
withId(String id)
The identifier for a protected query instance.
|
ProtectedQuery |
withMembershipArn(String membershipArn)
The ARN of the membership.
|
ProtectedQuery |
withMembershipId(String membershipId)
The identifier for the membership.
|
ProtectedQuery |
withResult(ProtectedQueryResult result)
The result of the protected query.
|
ProtectedQuery |
withResultConfiguration(ProtectedQueryResultConfiguration resultConfiguration)
Contains any details needed to write the query results.
|
ProtectedQuery |
withSqlParameters(ProtectedQuerySQLParameters sqlParameters)
The protected query SQL parameters.
|
ProtectedQuery |
withStatistics(ProtectedQueryStatistics statistics)
Statistics about protected query execution.
|
ProtectedQuery |
withStatus(ProtectedQueryStatus status)
The status of the query.
|
ProtectedQuery |
withStatus(String status)
The status of the query.
|
public void setId(String id)
The identifier for a protected query instance.
id
- The identifier for a protected query instance.public String getId()
The identifier for a protected query instance.
public ProtectedQuery withId(String id)
The identifier for a protected query instance.
id
- The identifier for a protected query instance.public void setMembershipId(String membershipId)
The identifier for the membership.
membershipId
- The identifier for the membership.public String getMembershipId()
The identifier for the membership.
public ProtectedQuery withMembershipId(String membershipId)
The identifier for the membership.
membershipId
- The identifier for the membership.public void setMembershipArn(String membershipArn)
The ARN of the membership.
membershipArn
- The ARN of the membership.public String getMembershipArn()
The ARN of the membership.
public ProtectedQuery withMembershipArn(String membershipArn)
The ARN of the membership.
membershipArn
- The ARN of the membership.public void setCreateTime(Date createTime)
The time at which the protected query was created.
createTime
- The time at which the protected query was created.public Date getCreateTime()
The time at which the protected query was created.
public ProtectedQuery withCreateTime(Date createTime)
The time at which the protected query was created.
createTime
- The time at which the protected query was created.public void setSqlParameters(ProtectedQuerySQLParameters sqlParameters)
The protected query SQL parameters.
sqlParameters
- The protected query SQL parameters.public ProtectedQuerySQLParameters getSqlParameters()
The protected query SQL parameters.
public ProtectedQuery withSqlParameters(ProtectedQuerySQLParameters sqlParameters)
The protected query SQL parameters.
sqlParameters
- The protected query SQL parameters.public void setStatus(String status)
The status of the query.
status
- The status of the query.ProtectedQueryStatus
public String getStatus()
The status of the query.
ProtectedQueryStatus
public ProtectedQuery withStatus(String status)
The status of the query.
status
- The status of the query.ProtectedQueryStatus
public ProtectedQuery withStatus(ProtectedQueryStatus status)
The status of the query.
status
- The status of the query.ProtectedQueryStatus
public void setResultConfiguration(ProtectedQueryResultConfiguration resultConfiguration)
Contains any details needed to write the query results.
resultConfiguration
- Contains any details needed to write the query results.public ProtectedQueryResultConfiguration getResultConfiguration()
Contains any details needed to write the query results.
public ProtectedQuery withResultConfiguration(ProtectedQueryResultConfiguration resultConfiguration)
Contains any details needed to write the query results.
resultConfiguration
- Contains any details needed to write the query results.public void setStatistics(ProtectedQueryStatistics statistics)
Statistics about protected query execution.
statistics
- Statistics about protected query execution.public ProtectedQueryStatistics getStatistics()
Statistics about protected query execution.
public ProtectedQuery withStatistics(ProtectedQueryStatistics statistics)
Statistics about protected query execution.
statistics
- Statistics about protected query execution.public void setResult(ProtectedQueryResult result)
The result of the protected query.
result
- The result of the protected query.public ProtectedQueryResult getResult()
The result of the protected query.
public ProtectedQuery withResult(ProtectedQueryResult result)
The result of the protected query.
result
- The result of the protected query.public void setError(ProtectedQueryError error)
An error thrown by the protected query.
error
- An error thrown by the protected query.public ProtectedQueryError getError()
An error thrown by the protected query.
public ProtectedQuery withError(ProtectedQueryError error)
An error thrown by the protected query.
error
- An error thrown by the protected query.public void setDifferentialPrivacy(DifferentialPrivacyParameters differentialPrivacy)
The sensitivity parameters of the differential privacy results of the protected query.
differentialPrivacy
- The sensitivity parameters of the differential privacy results of the protected query.public DifferentialPrivacyParameters getDifferentialPrivacy()
The sensitivity parameters of the differential privacy results of the protected query.
public ProtectedQuery withDifferentialPrivacy(DifferentialPrivacyParameters differentialPrivacy)
The sensitivity parameters of the differential privacy results of the protected query.
differentialPrivacy
- The sensitivity parameters of the differential privacy results of the protected query.public String toString()
toString
in class Object
Object.toString()
public ProtectedQuery clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.