public static interface ProtectedQuery.Builder extends SdkPojo, CopyableBuilder<ProtectedQuery.Builder,ProtectedQuery>
| Modifier and Type | Method and Description |
|---|---|
ProtectedQuery.Builder |
createTime(Instant createTime)
The time at which the protected query was created.
|
default ProtectedQuery.Builder |
error(Consumer<ProtectedQueryError.Builder> error)
An error thrown by the protected query.
|
ProtectedQuery.Builder |
error(ProtectedQueryError error)
An error thrown by the protected query.
|
ProtectedQuery.Builder |
id(String id)
The identifier for a protected query instance.
|
ProtectedQuery.Builder |
membershipArn(String membershipArn)
The ARN of the membership.
|
ProtectedQuery.Builder |
membershipId(String membershipId)
The identifier for the membership.
|
default ProtectedQuery.Builder |
result(Consumer<ProtectedQueryResult.Builder> result)
The result of the protected query.
|
ProtectedQuery.Builder |
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.
|
ProtectedQuery.Builder |
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.
|
ProtectedQuery.Builder |
sqlParameters(ProtectedQuerySQLParameters sqlParameters)
The protected query SQL parameters.
|
default ProtectedQuery.Builder |
statistics(Consumer<ProtectedQueryStatistics.Builder> statistics)
Statistics about protected query execution.
|
ProtectedQuery.Builder |
statistics(ProtectedQueryStatistics statistics)
Statistics about protected query execution.
|
ProtectedQuery.Builder |
status(ProtectedQueryStatus status)
The status of the query.
|
ProtectedQuery.Builder |
status(String status)
The status of the query.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildProtectedQuery.Builder id(String id)
The identifier for a protected query instance.
id - The identifier for a protected query instance.ProtectedQuery.Builder membershipId(String membershipId)
The identifier for the membership.
membershipId - The identifier for the membership.ProtectedQuery.Builder membershipArn(String membershipArn)
The ARN of the membership.
membershipArn - The ARN of the membership.ProtectedQuery.Builder createTime(Instant createTime)
The time at which the protected query was created.
createTime - The time at which the protected query was created.ProtectedQuery.Builder sqlParameters(ProtectedQuerySQLParameters sqlParameters)
The protected query SQL parameters.
sqlParameters - The protected query SQL parameters.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 via ProtectedQuerySQLParameters.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to sqlParameters(ProtectedQuerySQLParameters).
sqlParameters - a consumer that will call methods on ProtectedQuerySQLParameters.BuildersqlParameters(ProtectedQuerySQLParameters)ProtectedQuery.Builder status(String status)
The status of the query.
status - The status of the query.ProtectedQueryStatus,
ProtectedQueryStatusProtectedQuery.Builder status(ProtectedQueryStatus status)
The status of the query.
status - The status of the query.ProtectedQueryStatus,
ProtectedQueryStatusProtectedQuery.Builder resultConfiguration(ProtectedQueryResultConfiguration resultConfiguration)
Contains any details needed to write the query results.
resultConfiguration - Contains any details needed to write the query results.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 via
ProtectedQueryResultConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to resultConfiguration(ProtectedQueryResultConfiguration).
resultConfiguration - a consumer that will call methods on ProtectedQueryResultConfiguration.BuilderresultConfiguration(ProtectedQueryResultConfiguration)ProtectedQuery.Builder statistics(ProtectedQueryStatistics statistics)
Statistics about protected query execution.
statistics - Statistics about protected query execution.default ProtectedQuery.Builder statistics(Consumer<ProtectedQueryStatistics.Builder> 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 via ProtectedQueryStatistics.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to statistics(ProtectedQueryStatistics).
statistics - a consumer that will call methods on ProtectedQueryStatistics.Builderstatistics(ProtectedQueryStatistics)ProtectedQuery.Builder result(ProtectedQueryResult result)
The result of the protected query.
result - The result of the protected query.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.Builder avoiding
the need to create one manually via ProtectedQueryResult.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to result(ProtectedQueryResult).
result - a consumer that will call methods on ProtectedQueryResult.Builderresult(ProtectedQueryResult)ProtectedQuery.Builder error(ProtectedQueryError error)
An error thrown by the protected query.
error - An error thrown by the protected query.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.Builder avoiding the
need to create one manually via ProtectedQueryError.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to error(ProtectedQueryError).
error - a consumer that will call methods on ProtectedQueryError.Buildererror(ProtectedQueryError)Copyright © 2023. All rights reserved.