Class ApphubWorkloadAttributes.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.apphub_workload.ApphubWorkloadAttributes.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApphubWorkloadAttributes>
- Enclosing interface:
- ApphubWorkloadAttributes
@Stability(Stable) public static final class ApphubWorkloadAttributes.Builder extends Object implements software.amazon.jsii.Builder<ApphubWorkloadAttributes>
A builder forApphubWorkloadAttributes
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
businessOwners
@Stability(Stable) public ApphubWorkloadAttributes.Builder businessOwners(com.hashicorp.cdktf.IResolvable businessOwners)
Sets the value ofApphubWorkloadAttributes.getBusinessOwners()- Parameters:
businessOwners- business_owners block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_workload#business_owners ApphubWorkload#business_owners}- Returns:
this
-
businessOwners
@Stability(Stable) public ApphubWorkloadAttributes.Builder businessOwners(List<? extends ApphubWorkloadAttributesBusinessOwners> businessOwners)
Sets the value ofApphubWorkloadAttributes.getBusinessOwners()- Parameters:
businessOwners- business_owners block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_workload#business_owners ApphubWorkload#business_owners}- Returns:
this
-
criticality
@Stability(Stable) public ApphubWorkloadAttributes.Builder criticality(ApphubWorkloadAttributesCriticality criticality)
Sets the value ofApphubWorkloadAttributes.getCriticality()- Parameters:
criticality- criticality block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_workload#criticality ApphubWorkload#criticality}- Returns:
this
-
developerOwners
@Stability(Stable) public ApphubWorkloadAttributes.Builder developerOwners(com.hashicorp.cdktf.IResolvable developerOwners)
Sets the value ofApphubWorkloadAttributes.getDeveloperOwners()- Parameters:
developerOwners- developer_owners block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_workload#developer_owners ApphubWorkload#developer_owners}- Returns:
this
-
developerOwners
@Stability(Stable) public ApphubWorkloadAttributes.Builder developerOwners(List<? extends ApphubWorkloadAttributesDeveloperOwners> developerOwners)
Sets the value ofApphubWorkloadAttributes.getDeveloperOwners()- Parameters:
developerOwners- developer_owners block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_workload#developer_owners ApphubWorkload#developer_owners}- Returns:
this
-
environment
@Stability(Stable) public ApphubWorkloadAttributes.Builder environment(ApphubWorkloadAttributesEnvironment environment)
Sets the value ofApphubWorkloadAttributes.getEnvironment()- Parameters:
environment- environment block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_workload#environment ApphubWorkload#environment}- Returns:
this
-
operatorOwners
@Stability(Stable) public ApphubWorkloadAttributes.Builder operatorOwners(com.hashicorp.cdktf.IResolvable operatorOwners)
Sets the value ofApphubWorkloadAttributes.getOperatorOwners()- Parameters:
operatorOwners- operator_owners block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_workload#operator_owners ApphubWorkload#operator_owners}- Returns:
this
-
operatorOwners
@Stability(Stable) public ApphubWorkloadAttributes.Builder operatorOwners(List<? extends ApphubWorkloadAttributesOperatorOwners> operatorOwners)
Sets the value ofApphubWorkloadAttributes.getOperatorOwners()- Parameters:
operatorOwners- operator_owners block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_workload#operator_owners ApphubWorkload#operator_owners}- Returns:
this
-
build
@Stability(Stable) public ApphubWorkloadAttributes build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApphubWorkloadAttributes>- Returns:
- a new instance of
ApphubWorkloadAttributes - Throws:
NullPointerException- if any required attribute was not provided
-
-