Interface RotateWebhookCredentialsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RotateWebhookCredentialsRequest.Builder,,RotateWebhookCredentialsRequest> EventBridgeV2Request.Builder,SdkBuilder<RotateWebhookCredentialsRequest.Builder,,RotateWebhookCredentialsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RotateWebhookCredentialsRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Unique, case-sensitive identifier that ensures the idempotency of the request.credential(Consumer<WebhookCredential.Builder> credential) The new credential.credential(WebhookCredential credential) The new credential.eventSourceArn(String eventSourceArn) The ARN of the webhook EventSource.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eventbridgev2.model.EventBridgeV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
eventSourceArn
The ARN of the webhook EventSource.
- Parameters:
eventSourceArn- The ARN of the webhook EventSource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credential
The new credential. Set the member that matches the authentication type of the EventSource. If you set a member that does not match the authentication type, EventBridge returns InvalidInputException. If you omit Credential, EventBridge generates a value.
- Parameters:
credential- The new credential. Set the member that matches the authentication type of the EventSource. If you set a member that does not match the authentication type, EventBridge returns InvalidInputException. If you omit Credential, EventBridge generates a value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credential
default RotateWebhookCredentialsRequest.Builder credential(Consumer<WebhookCredential.Builder> credential) The new credential. Set the member that matches the authentication type of the EventSource. If you set a member that does not match the authentication type, EventBridge returns InvalidInputException. If you omit Credential, EventBridge generates a value.
This is a convenience method that creates an instance of theWebhookCredential.Builderavoiding the need to create one manually viaWebhookCredential.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocredential(WebhookCredential).- Parameters:
credential- a consumer that will call methods onWebhookCredential.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
Unique, case-sensitive identifier that ensures the idempotency of the request. The SDK generates one automatically when the field is omitted.
- Parameters:
clientToken- Unique, case-sensitive identifier that ensures the idempotency of the request. The SDK generates one automatically when the field is omitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RotateWebhookCredentialsRequest.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
RotateWebhookCredentialsRequest.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.
-