Interface ProtectedQuery.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProtectedQuery.Builder,,ProtectedQuery> SdkBuilder<ProtectedQuery.Builder,,ProtectedQuery> SdkPojo
- Enclosing class:
ProtectedQuery
-
Method Summary
Modifier and TypeMethodDescriptioncreateTime(Instant createTime) The time at which the protected query was created.default ProtectedQuery.BuilderdifferentialPrivacy(Consumer<DifferentialPrivacyParameters.Builder> differentialPrivacy) The sensitivity parameters of the differential privacy results of the protected query.differentialPrivacy(DifferentialPrivacyParameters differentialPrivacy) The sensitivity parameters of the differential privacy results of the protected query.default ProtectedQuery.Buildererror(Consumer<ProtectedQueryError.Builder> error) An error thrown by the protected query.error(ProtectedQueryError error) An error thrown by the protected query.The identifier for a protected query instance.membershipArn(String membershipArn) The ARN of the membership.membershipId(String membershipId) The identifier for the membership.default ProtectedQuery.Builderresult(Consumer<ProtectedQueryResult.Builder> result) The result of the protected query.result(ProtectedQueryResult result) The result of the protected query.default ProtectedQuery.BuilderresultConfiguration(Consumer<ProtectedQueryResultConfiguration.Builder> resultConfiguration) Contains any details needed to write the query results.resultConfiguration(ProtectedQueryResultConfiguration resultConfiguration) Contains any details needed to write the query results.default ProtectedQuery.BuildersqlParameters(Consumer<ProtectedQuerySQLParameters.Builder> sqlParameters) The protected query SQL parameters.sqlParameters(ProtectedQuerySQLParameters sqlParameters) The protected query SQL parameters.default ProtectedQuery.Builderstatistics(Consumer<ProtectedQueryStatistics.Builder> statistics) Statistics about protected query execution.statistics(ProtectedQueryStatistics statistics) Statistics about protected query execution.The status of the query.status(ProtectedQueryStatus status) The status of the query.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The identifier for a protected query instance.
- Parameters:
id- The identifier for a protected query instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipId
The identifier for the membership.
- Parameters:
membershipId- The identifier for the membership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipArn
The ARN of the membership.
- Parameters:
membershipArn- The ARN of the membership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
The time at which the protected query was created.
- Parameters:
createTime- The time at which the protected query was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sqlParameters
The protected query SQL parameters.
- Parameters:
sqlParameters- The protected query SQL parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sqlParameters
default ProtectedQuery.Builder sqlParameters(Consumer<ProtectedQuerySQLParameters.Builder> sqlParameters) The protected query SQL parameters.
This is a convenience method that creates an instance of theProtectedQuerySQLParameters.Builderavoiding the need to create one manually viaProtectedQuerySQLParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosqlParameters(ProtectedQuerySQLParameters).- Parameters:
sqlParameters- a consumer that will call methods onProtectedQuerySQLParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the query.
- Parameters:
status- The status of the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the query.
- Parameters:
status- The status of the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resultConfiguration
Contains any details needed to write the query results.
- Parameters:
resultConfiguration- Contains any details needed to write the query results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultConfiguration
default ProtectedQuery.Builder resultConfiguration(Consumer<ProtectedQueryResultConfiguration.Builder> resultConfiguration) Contains any details needed to write the query results.
This is a convenience method that creates an instance of theProtectedQueryResultConfiguration.Builderavoiding the need to create one manually viaProtectedQueryResultConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresultConfiguration(ProtectedQueryResultConfiguration).- Parameters:
resultConfiguration- a consumer that will call methods onProtectedQueryResultConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statistics
Statistics about protected query execution.
- Parameters:
statistics- Statistics about protected query execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
Statistics about protected query execution.
This is a convenience method that creates an instance of theProtectedQueryStatistics.Builderavoiding the need to create one manually viaProtectedQueryStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatistics(ProtectedQueryStatistics).- Parameters:
statistics- a consumer that will call methods onProtectedQueryStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
result
The result of the protected query.
- Parameters:
result- The result of the protected query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
result
The result of the protected query.
This is a convenience method that creates an instance of theProtectedQueryResult.Builderavoiding the need to create one manually viaProtectedQueryResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresult(ProtectedQueryResult).- Parameters:
result- a consumer that will call methods onProtectedQueryResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
error
An error thrown by the protected query.
- Parameters:
error- An error thrown by the protected query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
An error thrown by the protected query.
This is a convenience method that creates an instance of theProtectedQueryError.Builderavoiding the need to create one manually viaProtectedQueryError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(ProtectedQueryError).- Parameters:
error- a consumer that will call methods onProtectedQueryError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
differentialPrivacy
The sensitivity parameters of the differential privacy results of the protected query.
- Parameters:
differentialPrivacy- The sensitivity parameters of the differential privacy results of the protected query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
differentialPrivacy
default ProtectedQuery.Builder differentialPrivacy(Consumer<DifferentialPrivacyParameters.Builder> differentialPrivacy) The sensitivity parameters of the differential privacy results of the protected query.
This is a convenience method that creates an instance of theDifferentialPrivacyParameters.Builderavoiding the need to create one manually viaDifferentialPrivacyParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todifferentialPrivacy(DifferentialPrivacyParameters).- Parameters:
differentialPrivacy- a consumer that will call methods onDifferentialPrivacyParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-