Interface UpdateEventBusResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateEventBusResponse.Builder,UpdateEventBusResponse>,EventBridgeResponse.Builder,SdkBuilder<UpdateEventBusResponse.Builder,UpdateEventBusResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateEventBusResponse
public static interface UpdateEventBusResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<UpdateEventBusResponse.Builder,UpdateEventBusResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateEventBusResponse.Builderarn(String arn)The event bus Amazon Resource Name (ARN).default UpdateEventBusResponse.BuilderdeadLetterConfig(Consumer<DeadLetterConfig.Builder> deadLetterConfig)Sets the value of the DeadLetterConfig property for this object.UpdateEventBusResponse.BuilderdeadLetterConfig(DeadLetterConfig deadLetterConfig)Sets the value of the DeadLetterConfig property for this object.UpdateEventBusResponse.Builderdescription(String description)The event bus description.UpdateEventBusResponse.BuilderkmsKeyIdentifier(String kmsKeyIdentifier)The identifier of the KMS customer managed key for EventBridge to use to encrypt events on this event bus, if one has been specified.UpdateEventBusResponse.Buildername(String name)The event bus name.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
UpdateEventBusResponse.Builder arn(String arn)
The event bus Amazon Resource Name (ARN).
- Parameters:
arn- The event bus Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateEventBusResponse.Builder name(String name)
The event bus name.
- Parameters:
name- The event bus name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyIdentifier
UpdateEventBusResponse.Builder kmsKeyIdentifier(String kmsKeyIdentifier)
The identifier of the KMS customer managed key for EventBridge to use to encrypt events on this event bus, if one has been specified.
For more information, see Data encryption in EventBridge in the Amazon EventBridge User Guide.
- Parameters:
kmsKeyIdentifier- The identifier of the KMS customer managed key for EventBridge to use to encrypt events on this event bus, if one has been specified.For more information, see Data encryption in EventBridge in the Amazon EventBridge User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateEventBusResponse.Builder description(String 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
UpdateEventBusResponse.Builder deadLetterConfig(DeadLetterConfig 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 UpdateEventBusResponse.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.Builderavoiding the need to create one manually viaDeadLetterConfig.builder().When the
Consumercompletes,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:
deadLetterConfig(DeadLetterConfig)
-
-