Interface GetProtectedJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CleanRoomsResponse.Builder,CopyableBuilder<GetProtectedJobResponse.Builder,,GetProtectedJobResponse> SdkBuilder<GetProtectedJobResponse.Builder,,GetProtectedJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetProtectedJobResponse
@Mutable
@NotThreadSafe
public static interface GetProtectedJobResponse.Builder
extends CleanRoomsResponse.Builder, SdkPojo, CopyableBuilder<GetProtectedJobResponse.Builder,GetProtectedJobResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetProtectedJobResponse.BuilderprotectedJob(Consumer<ProtectedJob.Builder> protectedJob) The protected job metadata.protectedJob(ProtectedJob protectedJob) The protected job metadata.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 metadata.
- Parameters:
protectedJob- The protected job metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectedJob
The protected job metadata.
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:
-