Interface PutDeliverySourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudWatchLogsRequest.Builder
,CopyableBuilder<PutDeliverySourceRequest.Builder,
,PutDeliverySourceRequest> SdkBuilder<PutDeliverySourceRequest.Builder,
,PutDeliverySourceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutDeliverySourceRequest
-
Method Summary
Modifier and TypeMethodDescriptionDefines the type of log that the source is sending.A name for this delivery source.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceArn
(String resourceArn) The ARN of the Amazon Web Services resource that is generating and sending logs.An optional list of key-value pairs to associate with the resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
, andWORKMAIL_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
, andWORKMAIL_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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutDeliverySourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-