Interface UpdateEventBusRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateEventBusRequest.Builder,
,UpdateEventBusRequest> EventBridgeRequest.Builder
,SdkBuilder<UpdateEventBusRequest.Builder,
,UpdateEventBusRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateEventBusRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateEventBusRequest.Builder
deadLetterConfig
(Consumer<DeadLetterConfig.Builder> deadLetterConfig) Sets the value of the DeadLetterConfig property for this object.deadLetterConfig
(DeadLetterConfig deadLetterConfig) Sets the value of the DeadLetterConfig property for this object.description
(String description) The event bus description.kmsKeyIdentifier
(String kmsKeyIdentifier) The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus.default UpdateEventBusRequest.Builder
logConfig
(Consumer<LogConfig.Builder> logConfig) The logging configuration settings for the event bus.The logging configuration settings for the event bus.The name of the event bus.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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeRequest.Builder
build
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 Details
-
name
The name of the event bus.
- Parameters:
name
- The name of the event bus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyIdentifier
The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.
If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt events on the event bus.
For more information, see Identify and view keys in the Key Management Service Developer Guide.
Schema discovery is not supported for event buses encrypted using a customer managed key. EventBridge returns an error if:
-
You call
CreateDiscoverer
on an event bus set to use a customer managed key for encryption. -
You call
UpdatedEventBus
to set a customer managed key on an event bus with schema discovery enabled.
To enable schema discovery on an event bus, choose to use an Amazon Web Services owned key. For more information, see Encrypting events in the Amazon EventBridge User Guide.
If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a customer managed key for any archives for the event bus as well.
For more information, see Encrypting archives in the Amazon EventBridge User Guide.
- Parameters:
kmsKeyIdentifier
- The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt events on the event bus.
For more information, see Identify and view keys in the Key Management Service Developer Guide.
Schema discovery is not supported for event buses encrypted using a customer managed key. EventBridge returns an error if:
-
You call
CreateDiscoverer
on an event bus set to use a customer managed key for encryption. -
You call
UpdatedEventBus
to set a customer managed key on an event bus with schema discovery enabled.
To enable schema discovery on an event bus, choose to use an Amazon Web Services owned key. For more information, see Encrypting events in the Amazon EventBridge User Guide.
If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a customer managed key for any archives for the event bus as well.
For more information, see Encrypting archives in the Amazon EventBridge User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
description
The event bus description.
- Parameters:
description
- The event bus description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deadLetterConfig
Sets the value of the DeadLetterConfig property for this object.- Parameters:
deadLetterConfig
- The new value for the DeadLetterConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deadLetterConfig
default UpdateEventBusRequest.Builder deadLetterConfig(Consumer<DeadLetterConfig.Builder> deadLetterConfig) Sets the value of the DeadLetterConfig property for this object. This is a convenience method that creates an instance of theDeadLetterConfig.Builder
avoiding the need to create one manually viaDeadLetterConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeadLetterConfig(DeadLetterConfig)
.- Parameters:
deadLetterConfig
- a consumer that will call methods onDeadLetterConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logConfig
The logging configuration settings for the event bus.
For more information, see Configuring logs for event buses in the EventBridge User Guide.
- Parameters:
logConfig
- The logging configuration settings for the event bus.For more information, see Configuring logs for event buses in the EventBridge User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
The logging configuration settings for the event bus.
For more information, see Configuring logs for event buses in the EventBridge User Guide.
This is a convenience method that creates an instance of theLogConfig.Builder
avoiding the need to create one manually viaLogConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologConfig(LogConfig)
.- Parameters:
logConfig
- a consumer that will call methods onLogConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateEventBusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateEventBusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-