Interface UpdateEventBusRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateEventBusRequest.Builder,,UpdateEventBusRequest> EventBridgeV2Request.Builder,SdkBuilder<UpdateEventBusRequest.Builder,,UpdateEventBusRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateEventBusRequest
@Mutable
@NotThreadSafe
public static interface UpdateEventBusRequest.Builder
extends EventBridgeV2Request.Builder, SdkPojo, CopyableBuilder<UpdateEventBusRequest.Builder,UpdateEventBusRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) Sets the value of the Description property for this object.default UpdateEventBusRequest.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) Sets the value of the EncryptionConfiguration property for this object.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) Sets the value of the EncryptionConfiguration property for this object.eventBusArn(String eventBusArn) Sets the value of the EventBusArn property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateEventBusRequest.BuilderstorageConfiguration(Consumer<StorageConfiguration.Builder> storageConfiguration) Sets the value of the StorageConfiguration property for this object.storageConfiguration(StorageConfiguration storageConfiguration) Sets the value of the StorageConfiguration property for this object.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
-
eventBusArn
Sets the value of the EventBusArn property for this object.- Parameters:
eventBusArn- The new value for the EventBusArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Sets the value of the Description property for this object.- Parameters:
description- The new value for the Description property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
UpdateEventBusRequest.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) Sets the value of the EncryptionConfiguration property for this object.- Parameters:
encryptionConfiguration- The new value for the EncryptionConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default UpdateEventBusRequest.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) Sets the value of the EncryptionConfiguration property for this object. This is a convenience method that creates an instance of theEncryptionConfiguration.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageConfiguration
Sets the value of the StorageConfiguration property for this object.- Parameters:
storageConfiguration- The new value for the StorageConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageConfiguration
default UpdateEventBusRequest.Builder storageConfiguration(Consumer<StorageConfiguration.Builder> storageConfiguration) Sets the value of the StorageConfiguration property for this object. This is a convenience method that creates an instance of theStorageConfiguration.Builderavoiding the need to create one manually viaStorageConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorageConfiguration(StorageConfiguration).- Parameters:
storageConfiguration- a consumer that will call methods onStorageConfiguration.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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-