Class MonitoringServiceBasicService.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.monitoring_service.MonitoringServiceBasicService.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MonitoringServiceBasicService>
- Enclosing interface:
- MonitoringServiceBasicService
@Stability(Stable) public static final class MonitoringServiceBasicService.Builder extends Object implements software.amazon.jsii.Builder<MonitoringServiceBasicService>
A builder forMonitoringServiceBasicService
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitoringServiceBasicServicebuild()Builds the configured instance.MonitoringServiceBasicService.BuilderserviceLabels(Map<String,String> serviceLabels)Sets the value ofMonitoringServiceBasicService.getServiceLabels()MonitoringServiceBasicService.BuilderserviceType(String serviceType)Sets the value ofMonitoringServiceBasicService.getServiceType()
-
-
-
Method Detail
-
serviceLabels
@Stability(Stable) public MonitoringServiceBasicService.Builder serviceLabels(Map<String,String> serviceLabels)
Sets the value ofMonitoringServiceBasicService.getServiceLabels()- Parameters:
serviceLabels- Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this 'Service'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_service#service_labels MonitoringService#service_labels}- Returns:
this
-
serviceType
@Stability(Stable) public MonitoringServiceBasicService.Builder serviceType(String serviceType)
Sets the value ofMonitoringServiceBasicService.getServiceType()- Parameters:
serviceType- The type of service that this basic service defines, e.g. APP_ENGINE service type. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_service#service_type MonitoringService#service_type}- Returns:
this
-
build
@Stability(Stable) public MonitoringServiceBasicService build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MonitoringServiceBasicService>- Returns:
- a new instance of
MonitoringServiceBasicService - Throws:
NullPointerException- if any required attribute was not provided
-
-