Interface ProtectedQuery.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProtectedQuery.Builder,ProtectedQuery>,SdkBuilder<ProtectedQuery.Builder,ProtectedQuery>,SdkPojo
- Enclosing class:
- ProtectedQuery
public static interface ProtectedQuery.Builder extends SdkPojo, CopyableBuilder<ProtectedQuery.Builder,ProtectedQuery>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ProtectedQuery.BuildercreateTime(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.ProtectedQuery.BuilderdifferentialPrivacy(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.ProtectedQuery.Buildererror(ProtectedQueryError error)An error thrown by the protected query.ProtectedQuery.Builderid(String id)The identifier for a protected query instance.ProtectedQuery.BuildermembershipArn(String membershipArn)The ARN of the membership.ProtectedQuery.BuildermembershipId(String membershipId)The identifier for the membership.default ProtectedQuery.Builderresult(Consumer<ProtectedQueryResult.Builder> result)The result of the protected query.ProtectedQuery.Builderresult(ProtectedQueryResult result)The result of the protected query.default ProtectedQuery.BuilderresultConfiguration(Consumer<ProtectedQueryResultConfiguration.Builder> resultConfiguration)Contains any details needed to write the query results.ProtectedQuery.BuilderresultConfiguration(ProtectedQueryResultConfiguration resultConfiguration)Contains any details needed to write the query results.default ProtectedQuery.BuildersqlParameters(Consumer<ProtectedQuerySQLParameters.Builder> sqlParameters)The protected query SQL parameters.ProtectedQuery.BuildersqlParameters(ProtectedQuerySQLParameters sqlParameters)The protected query SQL parameters.default ProtectedQuery.Builderstatistics(Consumer<ProtectedQueryStatistics.Builder> statistics)Statistics about protected query execution.ProtectedQuery.Builderstatistics(ProtectedQueryStatistics statistics)Statistics about protected query execution.ProtectedQuery.Builderstatus(String status)The status of the query.ProtectedQuery.Builderstatus(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, sdkFields
-
-
-
-
Method Detail
-
id
ProtectedQuery.Builder id(String 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
ProtectedQuery.Builder membershipId(String 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
ProtectedQuery.Builder membershipArn(String 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
ProtectedQuery.Builder createTime(Instant 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
ProtectedQuery.Builder sqlParameters(ProtectedQuerySQLParameters 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:
sqlParameters(ProtectedQuerySQLParameters)
-
status
ProtectedQuery.Builder status(String 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:
ProtectedQueryStatus,ProtectedQueryStatus
-
status
ProtectedQuery.Builder status(ProtectedQueryStatus 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:
ProtectedQueryStatus,ProtectedQueryStatus
-
resultConfiguration
ProtectedQuery.Builder resultConfiguration(ProtectedQueryResultConfiguration 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:
resultConfiguration(ProtectedQueryResultConfiguration)
-
statistics
ProtectedQuery.Builder statistics(ProtectedQueryStatistics 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
default ProtectedQuery.Builder statistics(Consumer<ProtectedQueryStatistics.Builder> 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:
statistics(ProtectedQueryStatistics)
-
result
ProtectedQuery.Builder result(ProtectedQueryResult 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
default ProtectedQuery.Builder result(Consumer<ProtectedQueryResult.Builder> 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:
result(ProtectedQueryResult)
-
error
ProtectedQuery.Builder error(ProtectedQueryError 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
default ProtectedQuery.Builder error(Consumer<ProtectedQueryError.Builder> 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:
error(ProtectedQueryError)
-
differentialPrivacy
ProtectedQuery.Builder differentialPrivacy(DifferentialPrivacyParameters 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:
differentialPrivacy(DifferentialPrivacyParameters)
-
-