Interface CreateEventBusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateEventBusResponse.Builder,,CreateEventBusResponse> EventBridgeV2Response.Builder,SdkBuilder<CreateEventBusResponse.Builder,,CreateEventBusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateEventBusResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime(Instant creationTime) The time the event bus was created.description(String description) Free-text description.default CreateEventBusResponse.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) Encryption configuration for an event bus.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) Encryption configuration for an event bus.eventBusArn(String eventBusArn) The Amazon Resource Name (ARN) that uniquely identifies an event bus.Name of an event bus.Lifecycle state of an event bus.Lifecycle state of an event bus.stateReason(String stateReason) Human-readable explanation of why an event bus is in its current State.default CreateEventBusResponse.BuilderstorageConfiguration(Consumer<StorageConfigurationOutput.Builder> storageConfiguration) Event storage configuration of an event bus, as returned on reads.storageConfiguration(StorageConfigurationOutput storageConfiguration) Event storage configuration of an event bus, as returned on reads.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
The Amazon Resource Name (ARN) that uniquely identifies an event bus.
- Parameters:
eventBusArn- The Amazon Resource Name (ARN) that uniquely identifies an event bus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Name of an event bus. The first character must be alphanumeric; the remaining characters may also include '.', '-', and '_'. The grammar matches the name segment of EventBusArn (event-busv2/<name>/<id>), so every valid name can be represented in the bus's ARN. The same type is used everywhere a bus name appears.
- Parameters:
name- Name of an event bus. The first character must be alphanumeric; the remaining characters may also include '.', '-', and '_'. The grammar matches the name segment of EventBusArn (event-busv2/<name>/<id>), so every valid name can be represented in the bus's ARN. The same type is used everywhere a bus name appears.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Free-text description. Used by every resource type that has one: event buses, subscribers, and event sources.
- Parameters:
description- Free-text description. Used by every resource type that has one: event buses, subscribers, and event sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
CreateEventBusResponse.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) Encryption configuration for an event bus.
- Parameters:
encryptionConfiguration- Encryption configuration for an event bus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default CreateEventBusResponse.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) Encryption configuration for an event bus.
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
CreateEventBusResponse.Builder storageConfiguration(StorageConfigurationOutput storageConfiguration) Event storage configuration of an event bus, as returned on reads.
- Parameters:
storageConfiguration- Event storage configuration of an event bus, as returned on reads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageConfiguration
default CreateEventBusResponse.Builder storageConfiguration(Consumer<StorageConfigurationOutput.Builder> storageConfiguration) Event storage configuration of an event bus, as returned on reads.
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
Lifecycle state of an event bus.
-
CREATING: Bus creation is in progress.
-
CREATE_FAILED: Bus creation failed; see StateReason. The bus cannot be recovered or recreated in place: delete it with DeleteEventBus, then create a new bus.
-
ACTIVE: Bus is fully operational and can accept events.
-
UPDATING: Bus update is in progress.
-
UPDATE_FAILED: Bus update failed; the bus remains operational with its previous configuration.
-
DELETING: Bus deletion is actively in progress.
-
DELETE_FAILED: Bus deletion failed; see StateReason. Retry DeleteEventBus after removing subscribers and event sources.
- Parameters:
state- Lifecycle state of an event bus.-
CREATING: Bus creation is in progress.
-
CREATE_FAILED: Bus creation failed; see StateReason. The bus cannot be recovered or recreated in place: delete it with DeleteEventBus, then create a new bus.
-
ACTIVE: Bus is fully operational and can accept events.
-
UPDATING: Bus update is in progress.
-
UPDATE_FAILED: Bus update failed; the bus remains operational with its previous configuration.
-
DELETING: Bus deletion is actively in progress.
-
DELETE_FAILED: Bus deletion failed; see StateReason. Retry DeleteEventBus after removing subscribers and event sources.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
state
Lifecycle state of an event bus.
-
CREATING: Bus creation is in progress.
-
CREATE_FAILED: Bus creation failed; see StateReason. The bus cannot be recovered or recreated in place: delete it with DeleteEventBus, then create a new bus.
-
ACTIVE: Bus is fully operational and can accept events.
-
UPDATING: Bus update is in progress.
-
UPDATE_FAILED: Bus update failed; the bus remains operational with its previous configuration.
-
DELETING: Bus deletion is actively in progress.
-
DELETE_FAILED: Bus deletion failed; see StateReason. Retry DeleteEventBus after removing subscribers and event sources.
- Parameters:
state- Lifecycle state of an event bus.-
CREATING: Bus creation is in progress.
-
CREATE_FAILED: Bus creation failed; see StateReason. The bus cannot be recovered or recreated in place: delete it with DeleteEventBus, then create a new bus.
-
ACTIVE: Bus is fully operational and can accept events.
-
UPDATING: Bus update is in progress.
-
UPDATE_FAILED: Bus update failed; the bus remains operational with its previous configuration.
-
DELETING: Bus deletion is actively in progress.
-
DELETE_FAILED: Bus deletion failed; see StateReason. Retry DeleteEventBus after removing subscribers and event sources.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
stateReason
Human-readable explanation of why an event bus is in its current State. Omitted when the bus is in a normal operational state (ACTIVE). It stands in for the error response an asynchronous failure cannot return, so it applies only to resources with an asynchronous lifecycle: event buses. EventSources and subscribers are provisioned synchronously and report failures directly on the request.
- Parameters:
stateReason- Human-readable explanation of why an event bus is in its current State. Omitted when the bus is in a normal operational state (ACTIVE). It stands in for the error response an asynchronous failure cannot return, so it applies only to resources with an asynchronous lifecycle: event buses. EventSources and subscribers are provisioned synchronously and report failures directly on the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time the event bus was created.
- Parameters:
creationTime- The time the event bus was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-