Interface PutWebhookResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodePipelineResponse.Builder,CopyableBuilder<PutWebhookResponse.Builder,,PutWebhookResponse> SdkBuilder<PutWebhookResponse.Builder,,PutWebhookResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutWebhookResponse
@Mutable
@NotThreadSafe
public static interface PutWebhookResponse.Builder
extends CodePipelineResponse.Builder, SdkPojo, CopyableBuilder<PutWebhookResponse.Builder,PutWebhookResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PutWebhookResponse.Builderwebhook(Consumer<ListWebhookItem.Builder> webhook) The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.webhook(ListWebhookItem webhook) The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.Methods inherited from interface software.amazon.awssdk.services.codepipeline.model.CodePipelineResponse.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
-
webhook
The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.
- Parameters:
webhook- The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webhook
The detail returned from creating the webhook, such as the webhook name, webhook URL, and webhook ARN.
This is a convenience method that creates an instance of theListWebhookItem.Builderavoiding the need to create one manually viaListWebhookItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towebhook(ListWebhookItem).- Parameters:
webhook- a consumer that will call methods onListWebhookItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-