Class MonitoringMetricDescriptorConfig.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.monitoring_metric_descriptor.MonitoringMetricDescriptorConfig.Jsii$Proxy
-
- All Implemented Interfaces:
MonitoringMetricDescriptorConfig,com.hashicorp.cdktf.TerraformMetaArguments,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- MonitoringMetricDescriptorConfig
@Stability(Stable) @Internal public static final class MonitoringMetricDescriptorConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MonitoringMetricDescriptorConfig
An implementation forMonitoringMetricDescriptorConfig
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.monitoring_metric_descriptor.MonitoringMetricDescriptorConfig
MonitoringMetricDescriptorConfig.Builder, MonitoringMetricDescriptorConfig.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(MonitoringMetricDescriptorConfig.Builder builder)Constructor that initializes the object based on literal property values passed by theMonitoringMetricDescriptorConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)ObjectgetConnection()ObjectgetCount()List<com.hashicorp.cdktf.ITerraformDependable>getDependsOn()StringgetDescription()A detailed description of the metric, which can be used in documentation.StringgetDisplayName()A concise name for the metric, which can be displayed in user interfaces.com.hashicorp.cdktf.ITerraformIteratorgetForEach()StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_metric_descriptor#id MonitoringMetricDescriptor#id}.ObjectgetLabels()labels block.StringgetLaunchStage()The launch stage of the metric definition.com.hashicorp.cdktf.TerraformResourceLifecyclegetLifecycle()MonitoringMetricDescriptorMetadatagetMetadata()metadata block.StringgetMetricKind()Whether the metric records instantaneous values, changes to a value, etc.StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_metric_descriptor#project MonitoringMetricDescriptor#project}.com.hashicorp.cdktf.TerraformProvidergetProvider()List<Object>getProvisioners()MonitoringMetricDescriptorTimeoutsgetTimeouts()timeouts block.StringgetType()The metric type, including its DNS name prefix.StringgetUnit()The units in which the metric value is reported.StringgetValueType()Whether the measurement is an integer, a floating-point number, etc.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(MonitoringMetricDescriptorConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by theMonitoringMetricDescriptorConfig.Builder.
-
-
Method Detail
-
getDescription
public final String getDescription()
Description copied from interface:MonitoringMetricDescriptorConfigA detailed description of the metric, which can be used in documentation.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_metric_descriptor#description MonitoringMetricDescriptor#description}
- Specified by:
getDescriptionin interfaceMonitoringMetricDescriptorConfig
-
getDisplayName
public final String getDisplayName()
Description copied from interface:MonitoringMetricDescriptorConfigA concise name for the metric, which can be displayed in user interfaces.Use sentence case without an ending period, for example "Request count". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_metric_descriptor#display_name MonitoringMetricDescriptor#display_name}
- Specified by:
getDisplayNamein interfaceMonitoringMetricDescriptorConfig
-
getMetricKind
public final String getMetricKind()
Description copied from interface:MonitoringMetricDescriptorConfigWhether the metric records instantaneous values, changes to a value, etc.Some combinations of metricKind and valueType might not be supported. Possible values: ["METRIC_KIND_UNSPECIFIED", "GAUGE", "DELTA", "CUMULATIVE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_metric_descriptor#metric_kind MonitoringMetricDescriptor#metric_kind}
- Specified by:
getMetricKindin interfaceMonitoringMetricDescriptorConfig
-
getType
public final String getType()
Description copied from interface:MonitoringMetricDescriptorConfigThe metric type, including its DNS name prefix.The type is not URL-encoded. All service defined metrics must be prefixed with the service name, in the format of {service name}/{relative metric name}, such as cloudsql.googleapis.com/database/cpu/utilization. The relative metric name must have only upper and lower-case letters, digits, '/' and underscores '_' are allowed. Additionally, the maximum number of characters allowed for the relative_metric_name is 100. All user-defined metric types have the DNS name custom.googleapis.com, external.googleapis.com, or logging.googleapis.com/user/. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_metric_descriptor#type MonitoringMetricDescriptor#type}
- Specified by:
getTypein interfaceMonitoringMetricDescriptorConfig
-
getValueType
public final String getValueType()
Description copied from interface:MonitoringMetricDescriptorConfigWhether the measurement is an integer, a floating-point number, etc.Some combinations of metricKind and valueType might not be supported. Possible values: ["BOOL", "INT64", "DOUBLE", "STRING", "DISTRIBUTION"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_metric_descriptor#value_type MonitoringMetricDescriptor#value_type}
- Specified by:
getValueTypein interfaceMonitoringMetricDescriptorConfig
-
getId
public final String getId()
Description copied from interface:MonitoringMetricDescriptorConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_metric_descriptor#id MonitoringMetricDescriptor#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Specified by:
getIdin interfaceMonitoringMetricDescriptorConfig
-
getLabels
public final Object getLabels()
Description copied from interface:MonitoringMetricDescriptorConfiglabels block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_metric_descriptor#labels MonitoringMetricDescriptor#labels}
- Specified by:
getLabelsin interfaceMonitoringMetricDescriptorConfig
-
getLaunchStage
public final String getLaunchStage()
Description copied from interface:MonitoringMetricDescriptorConfigThe launch stage of the metric definition. Possible values: ["LAUNCH_STAGE_UNSPECIFIED", "UNIMPLEMENTED", "PRELAUNCH", "EARLY_ACCESS", "ALPHA", "BETA", "GA", "DEPRECATED"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_metric_descriptor#launch_stage MonitoringMetricDescriptor#launch_stage}
- Specified by:
getLaunchStagein interfaceMonitoringMetricDescriptorConfig
-
getMetadata
public final MonitoringMetricDescriptorMetadata getMetadata()
Description copied from interface:MonitoringMetricDescriptorConfigmetadata block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_metric_descriptor#metadata MonitoringMetricDescriptor#metadata}
- Specified by:
getMetadatain interfaceMonitoringMetricDescriptorConfig
-
getProject
public final String getProject()
Description copied from interface:MonitoringMetricDescriptorConfigDocs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_metric_descriptor#project MonitoringMetricDescriptor#project}.- Specified by:
getProjectin interfaceMonitoringMetricDescriptorConfig
-
getTimeouts
public final MonitoringMetricDescriptorTimeouts getTimeouts()
Description copied from interface:MonitoringMetricDescriptorConfigtimeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_metric_descriptor#timeouts MonitoringMetricDescriptor#timeouts}
- Specified by:
getTimeoutsin interfaceMonitoringMetricDescriptorConfig
-
getUnit
public final String getUnit()
Description copied from interface:MonitoringMetricDescriptorConfigThe units in which the metric value is reported.It is only applicable if the valueType is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values. Different systems may scale the values to be more easily displayed (so a value of 0.02KBy might be displayed as 20By, and a value of 3523KBy might be displayed as 3.5MBy). However, if the unit is KBy, then the value of the metric is always in thousands of bytes, no matter how it may be displayed. If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an INT64 CUMULATIVE metric whose unit is s{CPU} (or equivalently 1s{CPU} or just s). If the job uses 12,005 CPU-seconds, then the value is written as 12005. Alternatively, if you want a custom metric to record data in a more granular way, you can create a DOUBLE CUMULATIVE metric whose unit is ks{CPU}, and then write the value 12.005 (which is 12005/1000), or use Kis{CPU} and write 11.723 (which is 12005/1024). The supported units are a subset of The Unified Code for Units of Measure standard. More info can be found in the API documentation (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_metric_descriptor#unit MonitoringMetricDescriptor#unit}
- Specified by:
getUnitin interfaceMonitoringMetricDescriptorConfig
-
getConnection
public final Object getConnection()
- Specified by:
getConnectionin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getCount
public final Object getCount()
- Specified by:
getCountin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getDependsOn
public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
- Specified by:
getDependsOnin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getForEach
public final com.hashicorp.cdktf.ITerraformIterator getForEach()
- Specified by:
getForEachin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getLifecycle
public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
- Specified by:
getLifecyclein interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvider
public final com.hashicorp.cdktf.TerraformProvider getProvider()
- Specified by:
getProviderin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
getProvisioners
public final List<Object> getProvisioners()
- Specified by:
getProvisionersin interfacecom.hashicorp.cdktf.TerraformMetaArguments
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-