Package com.pulumi.aws.cloudwatch.inputs
Class LogDeliveryDestinationState.Builder
- java.lang.Object
-
- com.pulumi.aws.cloudwatch.inputs.LogDeliveryDestinationState.Builder
-
- Enclosing class:
- LogDeliveryDestinationState
public static final class LogDeliveryDestinationState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(LogDeliveryDestinationState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(LogDeliveryDestinationState defaults)
-
-
Method Detail
-
arn
public LogDeliveryDestinationState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the delivery destination.- Returns:
- builder
-
arn
public LogDeliveryDestinationState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the delivery destination.- Returns:
- builder
-
deliveryDestinationConfiguration
public LogDeliveryDestinationState.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 LogDeliveryDestinationState.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 LogDeliveryDestinationState.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 LogDeliveryDestinationState.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 LogDeliveryDestinationState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The name for this delivery destination.- Returns:
- builder
-
name
public LogDeliveryDestinationState.Builder name(java.lang.String name)
- Parameters:
name- The name for this delivery destination.- Returns:
- builder
-
outputFormat
public LogDeliveryDestinationState.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 LogDeliveryDestinationState.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 LogDeliveryDestinationState.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 LogDeliveryDestinationState.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 LogDeliveryDestinationState.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 LogDeliveryDestinationState.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
-
tagsAll
public LogDeliveryDestinationState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public LogDeliveryDestinationState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
build
public LogDeliveryDestinationState build()
-
-