Interface StartProtectedJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CleanRoomsRequest.Builder
,CopyableBuilder<StartProtectedJobRequest.Builder,
,StartProtectedJobRequest> SdkBuilder<StartProtectedJobRequest.Builder,
,StartProtectedJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartProtectedJobRequest
@Mutable
@NotThreadSafe
public static interface StartProtectedJobRequest.Builder
extends CleanRoomsRequest.Builder, SdkPojo, CopyableBuilder<StartProtectedJobRequest.Builder,StartProtectedJobRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StartProtectedJobRequest.Builder
jobParameters
(Consumer<ProtectedJobParameters.Builder> jobParameters) The job parameters.jobParameters
(ProtectedJobParameters jobParameters) The job parameters.membershipIdentifier
(String membershipIdentifier) A unique identifier for the membership to run this job against.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default StartProtectedJobRequest.Builder
resultConfiguration
(Consumer<ProtectedJobResultConfigurationInput.Builder> resultConfiguration) The details needed to write the job results.resultConfiguration
(ProtectedJobResultConfigurationInput resultConfiguration) The details needed to write the job results.The type of protected job to start.type
(ProtectedJobType type) The type of protected job to start.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cleanrooms.model.CleanRoomsRequest.Builder
build
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
-
type
The type of protected job to start.
- Parameters:
type
- The type of protected job to start.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of protected job to start.
- Parameters:
type
- The type of protected job to start.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
membershipIdentifier
A unique identifier for the membership to run this job against. Currently accepts a membership ID.
- Parameters:
membershipIdentifier
- A unique identifier for the membership to run this job against. Currently accepts a membership ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobParameters
The job parameters.
- Parameters:
jobParameters
- The job parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobParameters
default StartProtectedJobRequest.Builder jobParameters(Consumer<ProtectedJobParameters.Builder> jobParameters) The job parameters.
This is a convenience method that creates an instance of theProtectedJobParameters.Builder
avoiding the need to create one manually viaProtectedJobParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobParameters(ProtectedJobParameters)
.- Parameters:
jobParameters
- a consumer that will call methods onProtectedJobParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resultConfiguration
StartProtectedJobRequest.Builder resultConfiguration(ProtectedJobResultConfigurationInput resultConfiguration) The details needed to write the job results.
- Parameters:
resultConfiguration
- The details needed to write the job results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultConfiguration
default StartProtectedJobRequest.Builder resultConfiguration(Consumer<ProtectedJobResultConfigurationInput.Builder> resultConfiguration) The details needed to write the job results.
This is a convenience method that creates an instance of theProtectedJobResultConfigurationInput.Builder
avoiding the need to create one manually viaProtectedJobResultConfigurationInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresultConfiguration(ProtectedJobResultConfigurationInput)
.- Parameters:
resultConfiguration
- a consumer that will call methods onProtectedJobResultConfigurationInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartProtectedJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartProtectedJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-