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