Class MonitoringGroupConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        @Stability(Stable)
        public MonitoringGroupConfig.Builder displayName​(String displayName)
        Parameters:
        displayName - A user-assigned name for this group, used only for display purposes. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_group#display_name MonitoringGroup#display_name}
        Returns:
        this
      • filter

        @Stability(Stable)
        public MonitoringGroupConfig.Builder filter​(String filter)
        Parameters:
        filter - The filter used to determine which monitored resources belong to this group. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_group#filter MonitoringGroup#filter}
        Returns:
        this
      • id

        @Stability(Stable)
        public MonitoringGroupConfig.Builder id​(String id)
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_group#id MonitoringGroup#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.
        Returns:
        this
      • isCluster

        @Stability(Stable)
        public MonitoringGroupConfig.Builder isCluster​(Boolean isCluster)
        Parameters:
        isCluster - If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_group#is_cluster MonitoringGroup#is_cluster}
        Returns:
        this
      • isCluster

        @Stability(Stable)
        public MonitoringGroupConfig.Builder isCluster​(com.hashicorp.cdktf.IResolvable isCluster)
        Parameters:
        isCluster - If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_group#is_cluster MonitoringGroup#is_cluster}
        Returns:
        this
      • parentName

        @Stability(Stable)
        public MonitoringGroupConfig.Builder parentName​(String parentName)
        Parameters:
        parentName - The name of the group's parent, if it has one. The format is "projects/{project_id_or_number}/groups/{group_id}". For groups with no parent, parentName is the empty string, "". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_group#parent_name MonitoringGroup#parent_name}
        Returns:
        this
      • project

        @Stability(Stable)
        public MonitoringGroupConfig.Builder project​(String project)
        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_group#project MonitoringGroup#project}.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public MonitoringGroupConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public MonitoringGroupConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public MonitoringGroupConfig.Builder count​(Number count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public MonitoringGroupConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public MonitoringGroupConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public MonitoringGroupConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public MonitoringGroupConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public MonitoringGroupConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public MonitoringGroupConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this