Interface CreateEventBusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateEventBusResponse.Builder,,CreateEventBusResponse> EventBridgeV2Response.Builder,SdkBuilder<CreateEventBusResponse.Builder,,CreateEventBusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateEventBusResponse
@Mutable
@NotThreadSafe
public static interface CreateEventBusResponse.Builder
extends EventBridgeV2Response.Builder, SdkPojo, CopyableBuilder<CreateEventBusResponse.Builder,CreateEventBusResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime(Instant creationTime) The time the event bus was created.description(String description) Sets the value of the Description property for this object.default CreateEventBusResponse.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.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 CreateEventBusResponse.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
CreateEventBusResponse.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 CreateEventBusResponse.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
CreateEventBusResponse.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 CreateEventBusResponse.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.
-
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.
-