Interface UpdateWebhookResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeBuildResponse.Builder,CopyableBuilder<UpdateWebhookResponse.Builder,,UpdateWebhookResponse> SdkBuilder<UpdateWebhookResponse.Builder,,UpdateWebhookResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateWebhookResponse
@Mutable
@NotThreadSafe
public static interface UpdateWebhookResponse.Builder
extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<UpdateWebhookResponse.Builder,UpdateWebhookResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateWebhookResponse.Builderwebhook(Consumer<Webhook.Builder> webhook) Information about a repository's webhook that is associated with a project in CodeBuild.Information about a repository's webhook that is associated with a project in CodeBuild.Methods inherited from interface software.amazon.awssdk.services.codebuild.model.CodeBuildResponse.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
Information about a repository's webhook that is associated with a project in CodeBuild.
- Parameters:
webhook- Information about a repository's webhook that is associated with a project in CodeBuild.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webhook
Information about a repository's webhook that is associated with a project in CodeBuild.
This is a convenience method that creates an instance of theWebhook.Builderavoiding the need to create one manually viaWebhook.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towebhook(Webhook).- Parameters:
webhook- a consumer that will call methods onWebhook.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-