Interface PutDeliverySourceRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CloudWatchLogsRequest.Builder, CopyableBuilder<PutDeliverySourceRequest.Builder,PutDeliverySourceRequest>, SdkBuilder<PutDeliverySourceRequest.Builder,PutDeliverySourceRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
PutDeliverySourceRequest

public static interface PutDeliverySourceRequest.Builder extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<PutDeliverySourceRequest.Builder,PutDeliverySourceRequest>
  • Method Details

    • name

      A name for this delivery source. This name must be unique for all delivery sources in your account.

      Parameters:
      name - A name for this delivery source. This name must be unique for all delivery sources in your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArn

      PutDeliverySourceRequest.Builder resourceArn(String resourceArn)

      The ARN of the Amazon Web Services resource that is generating and sending logs. For example, arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234

      Parameters:
      resourceArn - The ARN of the Amazon Web Services resource that is generating and sending logs. For example, arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logType

      Defines the type of log that the source is sending.

      • For Amazon CodeWhisperer, the valid value is EVENT_LOGS.

      • For IAM Identity Centerr, the valid value is ERROR_LOGS.

      • For Amazon WorkMail, the valid values are ACCESS_CONTROL_LOGS, AUTHENTICATION_LOGS, WORKMAIL_AVAILABILITY_PROVIDER_LOGS, and WORKMAIL_MAILBOX_ACCESS_LOGS.

      Parameters:
      logType - Defines the type of log that the source is sending.

      • For Amazon CodeWhisperer, the valid value is EVENT_LOGS.

      • For IAM Identity Centerr, the valid value is ERROR_LOGS.

      • For Amazon WorkMail, the valid values are ACCESS_CONTROL_LOGS, AUTHENTICATION_LOGS, WORKMAIL_AVAILABILITY_PROVIDER_LOGS, and WORKMAIL_MAILBOX_ACCESS_LOGS.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      An optional list of key-value pairs to associate with the resource.

      For more information about tagging, see Tagging Amazon Web Services resources

      Parameters:
      tags - An optional list of key-value pairs to associate with the resource.

      For more information about tagging, see Tagging Amazon Web Services resources

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      PutDeliverySourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.