Interface DescribeEventBusResponse.Builder

  • 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 always default.
      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

      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 the DeadLetterConfig.Builder avoiding the need to create one manually via DeadLetterConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to deadLetterConfig(DeadLetterConfig).

      Parameters:
      deadLetterConfig - a consumer that will call methods on DeadLetterConfig.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 the LogConfig.Builder avoiding the need to create one manually via LogConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to logConfig(LogConfig).

      Parameters:
      logConfig - a consumer that will call methods on LogConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.