Interface CreateEventDestinationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateEventDestinationRequest.Builder,CreateEventDestinationRequest>,PinpointSmsVoiceV2Request.Builder,SdkBuilder<CreateEventDestinationRequest.Builder,CreateEventDestinationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateEventDestinationRequest
public static interface CreateEventDestinationRequest.Builder extends PinpointSmsVoiceV2Request.Builder, SdkPojo, CopyableBuilder<CreateEventDestinationRequest.Builder,CreateEventDestinationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateEventDestinationRequest.BuilderclientToken(String clientToken)Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.default CreateEventDestinationRequest.BuildercloudWatchLogsDestination(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogsDestination)An object that contains information about an event destination for logging to Amazon CloudWatch logs.CreateEventDestinationRequest.BuildercloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)An object that contains information about an event destination for logging to Amazon CloudWatch logs.CreateEventDestinationRequest.BuilderconfigurationSetName(String configurationSetName)Either the name of the configuration set or the configuration set ARN to apply event logging to.CreateEventDestinationRequest.BuildereventDestinationName(String eventDestinationName)The name that identifies the event destination.default CreateEventDestinationRequest.BuilderkinesisFirehoseDestination(Consumer<KinesisFirehoseDestination.Builder> kinesisFirehoseDestination)An object that contains information about an event destination for logging to Amazon Kinesis Data Firehose.CreateEventDestinationRequest.BuilderkinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)An object that contains information about an event destination for logging to Amazon Kinesis Data Firehose.CreateEventDestinationRequest.BuildermatchingEventTypes(Collection<EventType> matchingEventTypes)An array of event types that determine which events to log.CreateEventDestinationRequest.BuildermatchingEventTypes(EventType... matchingEventTypes)An array of event types that determine which events to log.CreateEventDestinationRequest.BuildermatchingEventTypesWithStrings(String... matchingEventTypes)An array of event types that determine which events to log.CreateEventDestinationRequest.BuildermatchingEventTypesWithStrings(Collection<String> matchingEventTypes)An array of event types that determine which events to log.CreateEventDestinationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateEventDestinationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateEventDestinationRequest.BuildersnsDestination(Consumer<SnsDestination.Builder> snsDestination)An object that contains information about an event destination for logging to Amazon SNS.CreateEventDestinationRequest.BuildersnsDestination(SnsDestination snsDestination)An object that contains information about an event destination for logging to Amazon SNS.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
configurationSetName
CreateEventDestinationRequest.Builder configurationSetName(String configurationSetName)
Either the name of the configuration set or the configuration set ARN to apply event logging to. The ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.
- Parameters:
configurationSetName- Either the name of the configuration set or the configuration set ARN to apply event logging to. The ConfigurateSetName and ConfigurationSetArn can be found using the DescribeConfigurationSets action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestinationName
CreateEventDestinationRequest.Builder eventDestinationName(String eventDestinationName)
The name that identifies the event destination.
- Parameters:
eventDestinationName- The name that identifies the event destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingEventTypesWithStrings
CreateEventDestinationRequest.Builder matchingEventTypesWithStrings(Collection<String> matchingEventTypes)
An array of event types that determine which events to log. If "ALL" is used, then Amazon Pinpoint logs every event type.
The
TEXT_SENTevent type is not supported.- Parameters:
matchingEventTypes- An array of event types that determine which events to log. If "ALL" is used, then Amazon Pinpoint logs every event type.The
TEXT_SENTevent type is not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingEventTypesWithStrings
CreateEventDestinationRequest.Builder matchingEventTypesWithStrings(String... matchingEventTypes)
An array of event types that determine which events to log. If "ALL" is used, then Amazon Pinpoint logs every event type.
The
TEXT_SENTevent type is not supported.- Parameters:
matchingEventTypes- An array of event types that determine which events to log. If "ALL" is used, then Amazon Pinpoint logs every event type.The
TEXT_SENTevent type is not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingEventTypes
CreateEventDestinationRequest.Builder matchingEventTypes(Collection<EventType> matchingEventTypes)
An array of event types that determine which events to log. If "ALL" is used, then Amazon Pinpoint logs every event type.
The
TEXT_SENTevent type is not supported.- Parameters:
matchingEventTypes- An array of event types that determine which events to log. If "ALL" is used, then Amazon Pinpoint logs every event type.The
TEXT_SENTevent type is not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchingEventTypes
CreateEventDestinationRequest.Builder matchingEventTypes(EventType... matchingEventTypes)
An array of event types that determine which events to log. If "ALL" is used, then Amazon Pinpoint logs every event type.
The
TEXT_SENTevent type is not supported.- Parameters:
matchingEventTypes- An array of event types that determine which events to log. If "ALL" is used, then Amazon Pinpoint logs every event type.The
TEXT_SENTevent type is not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogsDestination
CreateEventDestinationRequest.Builder cloudWatchLogsDestination(CloudWatchLogsDestination cloudWatchLogsDestination)
An object that contains information about an event destination for logging to Amazon CloudWatch logs.
- Parameters:
cloudWatchLogsDestination- An object that contains information about an event destination for logging to Amazon CloudWatch logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogsDestination
default CreateEventDestinationRequest.Builder cloudWatchLogsDestination(Consumer<CloudWatchLogsDestination.Builder> cloudWatchLogsDestination)
An object that contains information about an event destination for logging to Amazon CloudWatch logs.
This is a convenience method that creates an instance of theCloudWatchLogsDestination.Builderavoiding the need to create one manually viaCloudWatchLogsDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudWatchLogsDestination(CloudWatchLogsDestination).- Parameters:
cloudWatchLogsDestination- a consumer that will call methods onCloudWatchLogsDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cloudWatchLogsDestination(CloudWatchLogsDestination)
-
kinesisFirehoseDestination
CreateEventDestinationRequest.Builder kinesisFirehoseDestination(KinesisFirehoseDestination kinesisFirehoseDestination)
An object that contains information about an event destination for logging to Amazon Kinesis Data Firehose.
- Parameters:
kinesisFirehoseDestination- An object that contains information about an event destination for logging to Amazon Kinesis Data Firehose.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kinesisFirehoseDestination
default CreateEventDestinationRequest.Builder kinesisFirehoseDestination(Consumer<KinesisFirehoseDestination.Builder> kinesisFirehoseDestination)
An object that contains information about an event destination for logging to Amazon Kinesis Data Firehose.
This is a convenience method that creates an instance of theKinesisFirehoseDestination.Builderavoiding the need to create one manually viaKinesisFirehoseDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokinesisFirehoseDestination(KinesisFirehoseDestination).- Parameters:
kinesisFirehoseDestination- a consumer that will call methods onKinesisFirehoseDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
kinesisFirehoseDestination(KinesisFirehoseDestination)
-
snsDestination
CreateEventDestinationRequest.Builder snsDestination(SnsDestination snsDestination)
An object that contains information about an event destination for logging to Amazon SNS.
- Parameters:
snsDestination- An object that contains information about an event destination for logging to Amazon SNS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsDestination
default CreateEventDestinationRequest.Builder snsDestination(Consumer<SnsDestination.Builder> snsDestination)
An object that contains information about an event destination for logging to Amazon SNS.
This is a convenience method that creates an instance of theSnsDestination.Builderavoiding the need to create one manually viaSnsDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosnsDestination(SnsDestination).- Parameters:
snsDestination- a consumer that will call methods onSnsDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
snsDestination(SnsDestination)
-
clientToken
CreateEventDestinationRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.
- Parameters:
clientToken- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateEventDestinationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateEventDestinationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-