Interface PutDeliverySourceRequest.Builder

    • Method Detail

      • name

        PutDeliverySourceRequest.Builder name​(String 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

        PutDeliverySourceRequest.Builder logType​(String logType)

        Defines the type of log that the source is sending.

        • For Amazon Bedrock, the valid value is APPLICATION_LOGS.

        • For Amazon CodeWhisperer, the valid value is EVENT_LOGS.

        • For IAM Identity Center, 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 Bedrock, the valid value is APPLICATION_LOGS.

        • For Amazon CodeWhisperer, the valid value is EVENT_LOGS.

        • For IAM Identity Center, 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.