Package com.pulumi.aws.cloudwatch.inputs
Class LogDestinationState.Builder
- java.lang.Object
-
- com.pulumi.aws.cloudwatch.inputs.LogDestinationState.Builder
-
- Enclosing class:
- LogDestinationState
public static final class LogDestinationState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(LogDestinationState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogDestinationState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)LogDestinationState.Builderarn(java.lang.String arn)LogDestinationStatebuild()LogDestinationState.Buildername(com.pulumi.core.Output<java.lang.String> name)LogDestinationState.Buildername(java.lang.String name)LogDestinationState.Builderregion(com.pulumi.core.Output<java.lang.String> region)LogDestinationState.Builderregion(java.lang.String region)LogDestinationState.BuilderroleArn(com.pulumi.core.Output<java.lang.String> roleArn)LogDestinationState.BuilderroleArn(java.lang.String roleArn)LogDestinationState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)LogDestinationState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)LogDestinationState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)LogDestinationState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)LogDestinationState.BuildertargetArn(com.pulumi.core.Output<java.lang.String> targetArn)LogDestinationState.BuildertargetArn(java.lang.String targetArn)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(LogDestinationState defaults)
-
-
Method Detail
-
arn
public LogDestinationState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN specifying the log destination.- Returns:
- builder
-
arn
public LogDestinationState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN specifying the log destination.- Returns:
- builder
-
name
public LogDestinationState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- A name for the log destination.- Returns:
- builder
-
name
public LogDestinationState.Builder name(java.lang.String name)
- Parameters:
name- A name for the log destination.- Returns:
- builder
-
region
public LogDestinationState.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 LogDestinationState.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
-
roleArn
public LogDestinationState.Builder roleArn(@Nullable com.pulumi.core.Output<java.lang.String> roleArn)
- Parameters:
roleArn- The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target.- Returns:
- builder
-
roleArn
public LogDestinationState.Builder roleArn(java.lang.String roleArn)
- Parameters:
roleArn- The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target.- Returns:
- builder
-
tags
public LogDestinationState.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 LogDestinationState.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 LogDestinationState.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 LogDestinationState.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
-
targetArn
public LogDestinationState.Builder targetArn(@Nullable com.pulumi.core.Output<java.lang.String> targetArn)
- Parameters:
targetArn- The ARN of the target Amazon Kinesis stream resource for the destination.- Returns:
- builder
-
targetArn
public LogDestinationState.Builder targetArn(java.lang.String targetArn)
- Parameters:
targetArn- The ARN of the target Amazon Kinesis stream resource for the destination.- Returns:
- builder
-
build
public LogDestinationState build()
-
-