Interface ProtectedQuery.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProtectedQuery.Builder,
,ProtectedQuery> SdkBuilder<ProtectedQuery.Builder,
,ProtectedQuery> SdkPojo
- Enclosing class:
ProtectedQuery
-
Method Summary
Modifier and TypeMethodDescriptiondefault ProtectedQuery.Builder
computeConfiguration
(Consumer<ComputeConfiguration.Builder> computeConfiguration) The compute configuration for the protected query.computeConfiguration
(ComputeConfiguration computeConfiguration) The compute configuration for the protected query.createTime
(Instant createTime) The time at which the protected query was created.default ProtectedQuery.Builder
differentialPrivacy
(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.Builder
error
(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.Builder
result
(Consumer<ProtectedQueryResult.Builder> result) The result of the protected query.result
(ProtectedQueryResult result) The result of the protected query.default ProtectedQuery.Builder
resultConfiguration
(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.Builder
sqlParameters
(Consumer<ProtectedQuerySQLParameters.Builder> sqlParameters) The protected query SQL parameters.sqlParameters
(ProtectedQuerySQLParameters sqlParameters) The protected query SQL parameters.default ProtectedQuery.Builder
statistics
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaProtectedQuerySQLParameters.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaProtectedQueryResultConfiguration.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaProtectedQueryStatistics.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaProtectedQueryResult.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaProtectedQueryError.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaDifferentialPrivacyParameters.builder()
.When the
Consumer
completes,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:
-
computeConfiguration
The compute configuration for the protected query.
- Parameters:
computeConfiguration
- The compute configuration for the protected query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeConfiguration
default ProtectedQuery.Builder computeConfiguration(Consumer<ComputeConfiguration.Builder> computeConfiguration) The compute configuration for the protected query.
This is a convenience method that creates an instance of theComputeConfiguration.Builder
avoiding the need to create one manually viaComputeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomputeConfiguration(ComputeConfiguration)
.- Parameters:
computeConfiguration
- a consumer that will call methods onComputeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-