Package com.pulumi.aws.cloudwatch.inputs
Class LogDataProtectionPolicyState.Builder
- java.lang.Object
-
- com.pulumi.aws.cloudwatch.inputs.LogDataProtectionPolicyState.Builder
-
- Enclosing class:
- LogDataProtectionPolicyState
public static final class LogDataProtectionPolicyState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(LogDataProtectionPolicyState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogDataProtectionPolicyStatebuild()LogDataProtectionPolicyState.BuilderlogGroupName(com.pulumi.core.Output<java.lang.String> logGroupName)LogDataProtectionPolicyState.BuilderlogGroupName(java.lang.String logGroupName)LogDataProtectionPolicyState.BuilderpolicyDocument(com.pulumi.core.Output<java.lang.String> policyDocument)LogDataProtectionPolicyState.BuilderpolicyDocument(java.lang.String policyDocument)LogDataProtectionPolicyState.Builderregion(com.pulumi.core.Output<java.lang.String> region)LogDataProtectionPolicyState.Builderregion(java.lang.String region)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(LogDataProtectionPolicyState defaults)
-
-
Method Detail
-
logGroupName
public LogDataProtectionPolicyState.Builder logGroupName(@Nullable com.pulumi.core.Output<java.lang.String> logGroupName)
- Parameters:
logGroupName- The name of the log group under which the log stream is to be created.- Returns:
- builder
-
logGroupName
public LogDataProtectionPolicyState.Builder logGroupName(java.lang.String logGroupName)
- Parameters:
logGroupName- The name of the log group under which the log stream is to be created.- Returns:
- builder
-
policyDocument
public LogDataProtectionPolicyState.Builder policyDocument(@Nullable com.pulumi.core.Output<java.lang.String> policyDocument)
- Parameters:
policyDocument- Specifies the data protection policy in JSON. Read more at [Data protection policy syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data-start.html#mask-sensitive-log-data-policysyntax).- Returns:
- builder
-
policyDocument
public LogDataProtectionPolicyState.Builder policyDocument(java.lang.String policyDocument)
- Parameters:
policyDocument- Specifies the data protection policy in JSON. Read more at [Data protection policy syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/mask-sensitive-log-data-start.html#mask-sensitive-log-data-policysyntax).- Returns:
- builder
-
region
public LogDataProtectionPolicyState.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 LogDataProtectionPolicyState.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
-
build
public LogDataProtectionPolicyState build()
-
-