Package com.pulumi.aws.pinpoint
Class Smsvoicev2EventDestinationArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.pinpoint.Smsvoicev2EventDestinationArgs.Builder
-
- Enclosing class:
- Smsvoicev2EventDestinationArgs
public static final class Smsvoicev2EventDestinationArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(Smsvoicev2EventDestinationArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(Smsvoicev2EventDestinationArgs defaults)
-
-
Method Detail
-
cloudwatchLogsDestination
public Smsvoicev2EventDestinationArgs.Builder cloudwatchLogsDestination(@Nullable com.pulumi.core.Output<Smsvoicev2EventDestinationCloudwatchLogsDestinationArgs> cloudwatchLogsDestination)
- Parameters:
cloudwatchLogsDestination- Send events to Amazon CloudWatch Logs. Exactly one of `cloudwatchLogsDestination`, `kinesisFirehoseDestination`, or `snsDestination` must be configured. See `cloudwatchLogsDestination` Block for details.- Returns:
- builder
-
cloudwatchLogsDestination
public Smsvoicev2EventDestinationArgs.Builder cloudwatchLogsDestination(Smsvoicev2EventDestinationCloudwatchLogsDestinationArgs cloudwatchLogsDestination)
- Parameters:
cloudwatchLogsDestination- Send events to Amazon CloudWatch Logs. Exactly one of `cloudwatchLogsDestination`, `kinesisFirehoseDestination`, or `snsDestination` must be configured. See `cloudwatchLogsDestination` Block for details.- Returns:
- builder
-
configurationSetName
public Smsvoicev2EventDestinationArgs.Builder configurationSetName(com.pulumi.core.Output<java.lang.String> configurationSetName)
- Parameters:
configurationSetName- Name of the configuration set this event destination belongs to. Changing this forces a new resource.- Returns:
- builder
-
configurationSetName
public Smsvoicev2EventDestinationArgs.Builder configurationSetName(java.lang.String configurationSetName)
- Parameters:
configurationSetName- Name of the configuration set this event destination belongs to. Changing this forces a new resource.- Returns:
- builder
-
enabled
public Smsvoicev2EventDestinationArgs.Builder enabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> enabled)
- Parameters:
enabled- Whether the event destination is enabled. Defaults to `true`.- Returns:
- builder
-
enabled
public Smsvoicev2EventDestinationArgs.Builder enabled(java.lang.Boolean enabled)
- Parameters:
enabled- Whether the event destination is enabled. Defaults to `true`.- Returns:
- builder
-
eventDestinationName
public Smsvoicev2EventDestinationArgs.Builder eventDestinationName(com.pulumi.core.Output<java.lang.String> eventDestinationName)
- Parameters:
eventDestinationName- Name of the event destination. Changing this forces a new resource.- Returns:
- builder
-
eventDestinationName
public Smsvoicev2EventDestinationArgs.Builder eventDestinationName(java.lang.String eventDestinationName)
- Parameters:
eventDestinationName- Name of the event destination. Changing this forces a new resource.- Returns:
- builder
-
kinesisFirehoseDestination
public Smsvoicev2EventDestinationArgs.Builder kinesisFirehoseDestination(@Nullable com.pulumi.core.Output<Smsvoicev2EventDestinationKinesisFirehoseDestinationArgs> kinesisFirehoseDestination)
- Parameters:
kinesisFirehoseDestination- Send events to Amazon Data Firehose. Exactly one of `cloudwatchLogsDestination`, `kinesisFirehoseDestination`, or `snsDestination` must be configured. See `kinesisFirehoseDestination` Block for details.- Returns:
- builder
-
kinesisFirehoseDestination
public Smsvoicev2EventDestinationArgs.Builder kinesisFirehoseDestination(Smsvoicev2EventDestinationKinesisFirehoseDestinationArgs kinesisFirehoseDestination)
- Parameters:
kinesisFirehoseDestination- Send events to Amazon Data Firehose. Exactly one of `cloudwatchLogsDestination`, `kinesisFirehoseDestination`, or `snsDestination` must be configured. See `kinesisFirehoseDestination` Block for details.- Returns:
- builder
-
matchingEventTypes
public Smsvoicev2EventDestinationArgs.Builder matchingEventTypes(com.pulumi.core.Output<java.util.List<java.lang.String>> matchingEventTypes)
- Parameters:
matchingEventTypes- Event types for which the destination receives records. See the [AWS API reference](https://docs.aws.amazon.com/pinpoint/latest/apireference_smsvoicev2/API_CreateEventDestination.html#pinpoint-CreateEventDestination-request-MatchingEventTypes) for valid values. The following arguments are optional:- Returns:
- builder
-
matchingEventTypes
public Smsvoicev2EventDestinationArgs.Builder matchingEventTypes(java.util.List<java.lang.String> matchingEventTypes)
- Parameters:
matchingEventTypes- Event types for which the destination receives records. See the [AWS API reference](https://docs.aws.amazon.com/pinpoint/latest/apireference_smsvoicev2/API_CreateEventDestination.html#pinpoint-CreateEventDestination-request-MatchingEventTypes) for valid values. The following arguments are optional:- Returns:
- builder
-
matchingEventTypes
public Smsvoicev2EventDestinationArgs.Builder matchingEventTypes(java.lang.String... matchingEventTypes)
- Parameters:
matchingEventTypes- Event types for which the destination receives records. See the [AWS API reference](https://docs.aws.amazon.com/pinpoint/latest/apireference_smsvoicev2/API_CreateEventDestination.html#pinpoint-CreateEventDestination-request-MatchingEventTypes) for valid values. The following arguments are optional:- Returns:
- builder
-
region
public Smsvoicev2EventDestinationArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public Smsvoicev2EventDestinationArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
snsDestination
public Smsvoicev2EventDestinationArgs.Builder snsDestination(@Nullable com.pulumi.core.Output<Smsvoicev2EventDestinationSnsDestinationArgs> snsDestination)
- Parameters:
snsDestination- Send events to Amazon SNS. Exactly one of `cloudwatchLogsDestination`, `kinesisFirehoseDestination`, or `snsDestination` must be configured. See `snsDestination` Block for details.- Returns:
- builder
-
snsDestination
public Smsvoicev2EventDestinationArgs.Builder snsDestination(Smsvoicev2EventDestinationSnsDestinationArgs snsDestination)
- Parameters:
snsDestination- Send events to Amazon SNS. Exactly one of `cloudwatchLogsDestination`, `kinesisFirehoseDestination`, or `snsDestination` must be configured. See `snsDestination` Block for details.- Returns:
- builder
-
build
public Smsvoicev2EventDestinationArgs build()
-
-