Interface PutWebhookRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodePipelineRequest.Builder,CopyableBuilder<PutWebhookRequest.Builder,PutWebhookRequest>,SdkBuilder<PutWebhookRequest.Builder,PutWebhookRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutWebhookRequest
public static interface PutWebhookRequest.Builder extends CodePipelineRequest.Builder, SdkPojo, CopyableBuilder<PutWebhookRequest.Builder,PutWebhookRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PutWebhookRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutWebhookRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutWebhookRequest.Buildertags(Collection<Tag> tags)The tags for the webhook.PutWebhookRequest.Buildertags(Consumer<Tag.Builder>... tags)The tags for the webhook.PutWebhookRequest.Buildertags(Tag... tags)The tags for the webhook.default PutWebhookRequest.Builderwebhook(Consumer<WebhookDefinition.Builder> webhook)The detail provided in an input file to create the webhook, such as the webhook name, the pipeline name, and the action name.PutWebhookRequest.Builderwebhook(WebhookDefinition webhook)The detail provided in an input file to create the webhook, such as the webhook name, the pipeline name, and the action name.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
webhook
PutWebhookRequest.Builder webhook(WebhookDefinition webhook)
The detail provided in an input file to create the webhook, such as the webhook name, the pipeline name, and the action name. Give the webhook a unique name that helps you identify it. You might name the webhook after the pipeline and action it targets so that you can easily recognize what it's used for later.
- Parameters:
webhook- The detail provided in an input file to create the webhook, such as the webhook name, the pipeline name, and the action name. Give the webhook a unique name that helps you identify it. You might name the webhook after the pipeline and action it targets so that you can easily recognize what it's used for later.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webhook
default PutWebhookRequest.Builder webhook(Consumer<WebhookDefinition.Builder> webhook)
The detail provided in an input file to create the webhook, such as the webhook name, the pipeline name, and the action name. Give the webhook a unique name that helps you identify it. You might name the webhook after the pipeline and action it targets so that you can easily recognize what it's used for later.
This is a convenience method that creates an instance of theWebhookDefinition.Builderavoiding the need to create one manually viaWebhookDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towebhook(WebhookDefinition).- Parameters:
webhook- a consumer that will call methods onWebhookDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
webhook(WebhookDefinition)
-
tags
PutWebhookRequest.Builder tags(Collection<Tag> tags)
The tags for the webhook.
- Parameters:
tags- The tags for the webhook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
PutWebhookRequest.Builder tags(Tag... tags)
The tags for the webhook.
- Parameters:
tags- The tags for the webhook.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
PutWebhookRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the webhook.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
PutWebhookRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutWebhookRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-