Interface PollForJobsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodePipelineRequest.Builder
,CopyableBuilder<PollForJobsRequest.Builder,
,PollForJobsRequest> SdkBuilder<PollForJobsRequest.Builder,
,PollForJobsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PollForJobsRequest
public static interface PollForJobsRequest.Builder
extends CodePipelineRequest.Builder, SdkPojo, CopyableBuilder<PollForJobsRequest.Builder,PollForJobsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PollForJobsRequest.Builder
actionTypeId
(Consumer<ActionTypeId.Builder> actionTypeId) Represents information about an action type.actionTypeId
(ActionTypeId actionTypeId) Represents information about an action type.maxBatchSize
(Integer maxBatchSize) The maximum number of jobs to return in a poll for jobs call.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.queryParam
(Map<String, String> queryParam) A map of property names and values.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codepipeline.model.CodePipelineRequest.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, sdkFields
-
Method Details
-
actionTypeId
Represents information about an action type.
- Parameters:
actionTypeId
- Represents information about an action type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionTypeId
Represents information about an action type.
This is a convenience method that creates an instance of theActionTypeId.Builder
avoiding the need to create one manually viaActionTypeId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactionTypeId(ActionTypeId)
.- Parameters:
actionTypeId
- a consumer that will call methods onActionTypeId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxBatchSize
The maximum number of jobs to return in a poll for jobs call.
- Parameters:
maxBatchSize
- The maximum number of jobs to return in a poll for jobs call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryParam
A map of property names and values. For an action type with no queryable properties, this value must be null or an empty map. For an action type with a queryable property, you must supply that property as a key in the map. Only jobs whose action configuration matches the mapped value are returned.
- Parameters:
queryParam
- A map of property names and values. For an action type with no queryable properties, this value must be null or an empty map. For an action type with a queryable property, you must supply that property as a key in the map. Only jobs whose action configuration matches the mapped value are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PollForJobsRequest.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
PollForJobsRequest.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.
-