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.BuilderlogType(String logType)Defines the type of log that the source is sending.PutDeliverySourceRequest.Buildername(String name)A name for this delivery source.PutDeliverySourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutDeliverySourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutDeliverySourceRequest.BuilderresourceArn(String resourceArn)The ARN of the Amazon Web Services resource that is generating and sending logs.PutDeliverySourceRequest.Buildertags(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 CloudFront, the valid value is
ACCESS_LOGS. -
For Amazon CodeWhisperer, the valid value is
EVENT_LOGS. -
For Elemental MediaPackage, the valid values are
EGRESS_ACCESS_LOGSandINGRESS_ACCESS_LOGS. -
For Elemental MediaTailor, the valid values are
AD_DECISION_SERVER_LOGS,MANIFEST_SERVICE_LOGS, andTRANSCODE_LOGS. -
For IAM Identity Center, the valid value is
ERROR_LOGS. -
For Amazon Q, the valid value is
EVENT_LOGS. -
For Amazon SES mail manager, the valid value is
APPLICATION_LOG. -
For Amazon WorkMail, the valid values are
ACCESS_CONTROL_LOGS,AUTHENTICATION_LOGS,WORKMAIL_AVAILABILITY_PROVIDER_LOGS,WORKMAIL_MAILBOX_ACCESS_LOGS, andWORKMAIL_PERSONAL_ACCESS_TOKEN_LOGS.
- Parameters:
logType- Defines the type of log that the source is sending.-
For Amazon Bedrock, the valid value is
APPLICATION_LOGS. -
For CloudFront, the valid value is
ACCESS_LOGS. -
For Amazon CodeWhisperer, the valid value is
EVENT_LOGS. -
For Elemental MediaPackage, the valid values are
EGRESS_ACCESS_LOGSandINGRESS_ACCESS_LOGS. -
For Elemental MediaTailor, the valid values are
AD_DECISION_SERVER_LOGS,MANIFEST_SERVICE_LOGS, andTRANSCODE_LOGS. -
For IAM Identity Center, the valid value is
ERROR_LOGS. -
For Amazon Q, the valid value is
EVENT_LOGS. -
For Amazon SES mail manager, the valid value is
APPLICATION_LOG. -
For Amazon WorkMail, the valid values are
ACCESS_CONTROL_LOGS,AUTHENTICATION_LOGS,WORKMAIL_AVAILABILITY_PROVIDER_LOGS,WORKMAIL_MAILBOX_ACCESS_LOGS, andWORKMAIL_PERSONAL_ACCESS_TOKEN_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:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutDeliverySourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-