Interface ProtectedQueryResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProtectedQueryResult.Builder,
,ProtectedQueryResult> SdkBuilder<ProtectedQueryResult.Builder,
,ProtectedQueryResult> SdkPojo
- Enclosing class:
ProtectedQueryResult
@Mutable
@NotThreadSafe
public static interface ProtectedQueryResult.Builder
extends SdkPojo, CopyableBuilder<ProtectedQueryResult.Builder,ProtectedQueryResult>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ProtectedQueryResult.Builder
output
(Consumer<ProtectedQueryOutput.Builder> output) The output of the protected query.output
(ProtectedQueryOutput output) The output of the protected 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
-
output
The output of the protected query.
- Parameters:
output
- The output of the protected query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
output
The output of the protected query.
This is a convenience method that creates an instance of theProtectedQueryOutput.Builder
avoiding the need to create one manually viaProtectedQueryOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutput(ProtectedQueryOutput)
.- Parameters:
output
- a consumer that will call methods onProtectedQueryOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-