Interface PollForJobsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodePipelineRequest.Builder,CopyableBuilder<PollForJobsRequest.Builder,,PollForJobsRequest> SdkBuilder<PollForJobsRequest.Builder,,PollForJobsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PollForJobsRequest
@Mutable
@NotThreadSafe
public static interface PollForJobsRequest.Builder
extends CodePipelineRequest.Builder, SdkPojo, CopyableBuilder<PollForJobsRequest.Builder,PollForJobsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PollForJobsRequest.BuilderactionTypeId(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codepipeline.model.CodePipelineRequest.Builder
buildMethods 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, 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.Builderavoiding the need to create one manually viaActionTypeId.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-