Interface DescribeEventBusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeEventBusResponse.Builder,
,DescribeEventBusResponse> EventBridgeResponse.Builder
,SdkBuilder<DescribeEventBusResponse.Builder,
,DescribeEventBusResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeEventBusResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the account permitted to write events to the current account.creationTime
(Instant creationTime) The time the event bus was created.default DescribeEventBusResponse.Builder
deadLetterConfig
(Consumer<DeadLetterConfig.Builder> deadLetterConfig) Sets the value of the DeadLetterConfig property for this object.deadLetterConfig
(DeadLetterConfig deadLetterConfig) Sets the value of the DeadLetterConfig property for this object.description
(String description) The event bus description.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.lastModifiedTime
(Instant lastModifiedTime) The time the event bus was last modified.default DescribeEventBusResponse.Builder
logConfig
(Consumer<LogConfig.Builder> logConfig) The logging configuration settings for the event bus.The logging configuration settings for the event bus.The name of the event bus.The policy that enables the external account to send events to your account.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 Details
-
name
The name of the event bus. Currently, this is always
default
.- Parameters:
name
- The name of the event bus. Currently, this is alwaysdefault
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the account permitted to write events to the current account.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the account permitted to write events to the current account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
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 DescribeEventBusResponse.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.Builder
avoiding the need to create one manually viaDeadLetterConfig.builder()
.When the
Consumer
completes,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:
-
policy
The policy that enables the external account to send events to your account.
- Parameters:
policy
- The policy that enables the external account to send events to your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
The logging configuration settings for the event bus.
For more information, see Configuring logs for event buses in the EventBridge User Guide.
- Parameters:
logConfig
- The logging configuration settings for the event bus.For more information, see Configuring logs for event buses in the EventBridge User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfig
The logging configuration settings for the event bus.
For more information, see Configuring logs for event buses in the EventBridge User Guide.
This is a convenience method that creates an instance of theLogConfig.Builder
avoiding the need to create one manually viaLogConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologConfig(LogConfig)
.- Parameters:
logConfig
- a consumer that will call methods onLogConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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.
-