Interface UpdateProtectedJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CleanRoomsResponse.Builder,CopyableBuilder<UpdateProtectedJobResponse.Builder,,UpdateProtectedJobResponse> SdkBuilder<UpdateProtectedJobResponse.Builder,,UpdateProtectedJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateProtectedJobResponse
@Mutable
@NotThreadSafe
public static interface UpdateProtectedJobResponse.Builder
extends CleanRoomsResponse.Builder, SdkPojo, CopyableBuilder<UpdateProtectedJobResponse.Builder,UpdateProtectedJobResponse>
-
Method Summary
Modifier and TypeMethodDescriptionprotectedJob(Consumer<ProtectedJob.Builder> protectedJob) The protected job output.protectedJob(ProtectedJob protectedJob) The protected job output.Methods inherited from interface software.amazon.awssdk.services.cleanrooms.model.CleanRoomsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
protectedJob
The protected job output.
- Parameters:
protectedJob- The protected job output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectedJob
default UpdateProtectedJobResponse.Builder protectedJob(Consumer<ProtectedJob.Builder> protectedJob) The protected job output.
This is a convenience method that creates an instance of theProtectedJob.Builderavoiding the need to create one manually viaProtectedJob.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprotectedJob(ProtectedJob).- Parameters:
protectedJob- a consumer that will call methods onProtectedJob.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-