Package com.pulumi.aws.cloudwatch
Class LogDeliveryDestinationArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.cloudwatch.LogDeliveryDestinationArgs.Builder
-
- Enclosing class:
- LogDeliveryDestinationArgs
public static final class LogDeliveryDestinationArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(LogDeliveryDestinationArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(LogDeliveryDestinationArgs defaults)
-
-
Method Detail
-
deliveryDestinationConfiguration
public LogDeliveryDestinationArgs.Builder deliveryDestinationConfiguration(@Nullable com.pulumi.core.Output<LogDeliveryDestinationDeliveryDestinationConfigurationArgs> deliveryDestinationConfiguration)
- Parameters:
deliveryDestinationConfiguration- The AWS resource that will receive the logs. Required for CloudWatch Logs, Amazon S3, and Firehose destinations. Not required for X-Ray trace delivery destinations.- Returns:
- builder
-
deliveryDestinationConfiguration
public LogDeliveryDestinationArgs.Builder deliveryDestinationConfiguration(LogDeliveryDestinationDeliveryDestinationConfigurationArgs deliveryDestinationConfiguration)
- Parameters:
deliveryDestinationConfiguration- The AWS resource that will receive the logs. Required for CloudWatch Logs, Amazon S3, and Firehose destinations. Not required for X-Ray trace delivery destinations.- Returns:
- builder
-
deliveryDestinationType
public LogDeliveryDestinationArgs.Builder deliveryDestinationType(@Nullable com.pulumi.core.Output<java.lang.String> deliveryDestinationType)
- Parameters:
deliveryDestinationType- The type of delivery destination. Valid values: `S3`, `CWL`, `FH`, `XRAY`. Required for X-Ray trace delivery destinations. For other destination types, this is computed from the `destinationResourceArn`.- Returns:
- builder
-
deliveryDestinationType
public LogDeliveryDestinationArgs.Builder deliveryDestinationType(java.lang.String deliveryDestinationType)
- Parameters:
deliveryDestinationType- The type of delivery destination. Valid values: `S3`, `CWL`, `FH`, `XRAY`. Required for X-Ray trace delivery destinations. For other destination types, this is computed from the `destinationResourceArn`.- Returns:
- builder
-
name
public LogDeliveryDestinationArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The name for this delivery destination.- Returns:
- builder
-
name
public LogDeliveryDestinationArgs.Builder name(java.lang.String name)
- Parameters:
name- The name for this delivery destination.- Returns:
- builder
-
outputFormat
public LogDeliveryDestinationArgs.Builder outputFormat(@Nullable com.pulumi.core.Output<java.lang.String> outputFormat)
- Parameters:
outputFormat- The format of the logs that are sent to this delivery destination. Valid values: `json`, `plain`, `w3c`, `raw`, `parquet`.- Returns:
- builder
-
outputFormat
public LogDeliveryDestinationArgs.Builder outputFormat(java.lang.String outputFormat)
- Parameters:
outputFormat- The format of the logs that are sent to this delivery destination. Valid values: `json`, `plain`, `w3c`, `raw`, `parquet`.- Returns:
- builder
-
region
public LogDeliveryDestinationArgs.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 LogDeliveryDestinationArgs.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
-
tags
public LogDeliveryDestinationArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public LogDeliveryDestinationArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
build
public LogDeliveryDestinationArgs build()
-
-