Class PrometheusWorkspaceLoggingConfiguration.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.prometheus_workspace.PrometheusWorkspaceLoggingConfiguration.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PrometheusWorkspaceLoggingConfiguration>
- Enclosing interface:
- PrometheusWorkspaceLoggingConfiguration
@Stability(Stable) public static final class PrometheusWorkspaceLoggingConfiguration.Builder extends Object implements software.amazon.jsii.Builder<PrometheusWorkspaceLoggingConfiguration>
A builder forPrometheusWorkspaceLoggingConfiguration
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrometheusWorkspaceLoggingConfigurationbuild()Builds the configured instance.PrometheusWorkspaceLoggingConfiguration.BuilderlogGroupArn(String logGroupArn)Sets the value ofPrometheusWorkspaceLoggingConfiguration.getLogGroupArn()
-
-
-
Method Detail
-
logGroupArn
@Stability(Stable) public PrometheusWorkspaceLoggingConfiguration.Builder logGroupArn(String logGroupArn)
Sets the value ofPrometheusWorkspaceLoggingConfiguration.getLogGroupArn()- Parameters:
logGroupArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/prometheus_workspace#log_group_arn PrometheusWorkspace#log_group_arn}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public PrometheusWorkspaceLoggingConfiguration build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PrometheusWorkspaceLoggingConfiguration>- Returns:
- a new instance of
PrometheusWorkspaceLoggingConfiguration - Throws:
NullPointerException- if any required attribute was not provided
-
-