Interface UpdateEventBusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateEventBusResponse.Builder,,UpdateEventBusResponse> EventBridgeV2Response.Builder,SdkBuilder<UpdateEventBusResponse.Builder,,UpdateEventBusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateEventBusResponse
@Mutable
@NotThreadSafe
public static interface UpdateEventBusResponse.Builder
extends EventBridgeV2Response.Builder, SdkPojo, CopyableBuilder<UpdateEventBusResponse.Builder,UpdateEventBusResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) Sets the value of the Description property for this object.default UpdateEventBusResponse.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.lastModifiedTime(Instant lastModifiedTime) The time the event bus was last modified.Sets the value of the Name property for this object.Sets the value of the State property for this object.Sets the value of the State property for this object.stateReason(String stateReason) Sets the value of the StateReason property for this object.default UpdateEventBusResponse.BuilderstorageConfiguration(Consumer<StorageConfigurationOutput.Builder> storageConfiguration) Sets the value of the StorageConfiguration property for this object.storageConfiguration(StorageConfigurationOutput storageConfiguration) Sets the value of the StorageConfiguration property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eventbridgev2.model.EventBridgeV2Response.Builder
build, responseMetadata, responseMetadataMethods 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
-
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.
-
name
Sets the value of the Name property for this object.- Parameters:
name- The new value for the Name 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
UpdateEventBusResponse.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 UpdateEventBusResponse.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
UpdateEventBusResponse.Builder storageConfiguration(StorageConfigurationOutput 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 UpdateEventBusResponse.Builder storageConfiguration(Consumer<StorageConfigurationOutput.Builder> storageConfiguration) Sets the value of the StorageConfiguration property for this object. This is a convenience method that creates an instance of theStorageConfigurationOutput.Builderavoiding the need to create one manually viaStorageConfigurationOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorageConfiguration(StorageConfigurationOutput).- Parameters:
storageConfiguration- a consumer that will call methods onStorageConfigurationOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Sets the value of the State property for this object.- Parameters:
state- The new value for the State property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Sets the value of the State property for this object.- Parameters:
state- The new value for the State property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateReason
Sets the value of the StateReason property for this object.- Parameters:
stateReason- The new value for the StateReason property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The time the event bus was last modified.
- Parameters:
lastModifiedTime- The time the event bus was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-