Interface DescribeEventBusResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeEventBusResponse.Builder,DescribeEventBusResponse>,EventBridgeResponse.Builder,SdkBuilder<DescribeEventBusResponse.Builder,DescribeEventBusResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeEventBusResponse
public static interface DescribeEventBusResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<DescribeEventBusResponse.Builder,DescribeEventBusResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeEventBusResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the account permitted to write events to the current account.DescribeEventBusResponse.BuildercreationTime(Instant creationTime)The time the event bus was created.default DescribeEventBusResponse.BuilderdeadLetterConfig(Consumer<DeadLetterConfig.Builder> deadLetterConfig)Sets the value of the DeadLetterConfig property for this object.DescribeEventBusResponse.BuilderdeadLetterConfig(DeadLetterConfig deadLetterConfig)Sets the value of the DeadLetterConfig property for this object.DescribeEventBusResponse.Builderdescription(String description)The event bus description.DescribeEventBusResponse.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.DescribeEventBusResponse.BuilderlastModifiedTime(Instant lastModifiedTime)The time the event bus was last modified.DescribeEventBusResponse.Buildername(String name)The name of the event bus.DescribeEventBusResponse.Builderpolicy(String policy)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
name
DescribeEventBusResponse.Builder name(String 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
DescribeEventBusResponse.Builder arn(String 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
DescribeEventBusResponse.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.
-
kmsKeyIdentifier
DescribeEventBusResponse.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.
-
deadLetterConfig
DescribeEventBusResponse.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 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.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)
-
policy
DescribeEventBusResponse.Builder policy(String 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.
-
creationTime
DescribeEventBusResponse.Builder creationTime(Instant 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
DescribeEventBusResponse.Builder lastModifiedTime(Instant 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.
-
-