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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutDeliverySourceRequest.Builder
logType(String logType)
Defines the type of log that the source is sending.PutDeliverySourceRequest.Builder
name(String name)
A name for this delivery source.PutDeliverySourceRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
PutDeliverySourceRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
PutDeliverySourceRequest.Builder
resourceArn(String resourceArn)
The ARN of the Amazon Web Services resource that is generating and sending logs.PutDeliverySourceRequest.Builder
tags(Map<String,String> tags)
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, sdkFieldNameToField, sdkFields
-
-
-
-
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
, andWORKMAIL_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
, andWORKMAIL_MAILBOX_ACCESS_LOGS
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
PutDeliverySourceRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
PutDeliverySourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-