Class ClouddeployAutomationRulesAdvanceRolloutRule.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.clouddeploy_automation.ClouddeployAutomationRulesAdvanceRolloutRule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClouddeployAutomationRulesAdvanceRolloutRule>
- Enclosing interface:
- ClouddeployAutomationRulesAdvanceRolloutRule
@Stability(Stable) public static final class ClouddeployAutomationRulesAdvanceRolloutRule.Builder extends Object implements software.amazon.jsii.Builder<ClouddeployAutomationRulesAdvanceRolloutRule>
A builder forClouddeployAutomationRulesAdvanceRolloutRule
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClouddeployAutomationRulesAdvanceRolloutRulebuild()Builds the configured instance.ClouddeployAutomationRulesAdvanceRolloutRule.Builderid(String id)Sets the value ofClouddeployAutomationRulesAdvanceRolloutRule.getId()ClouddeployAutomationRulesAdvanceRolloutRule.BuildersourcePhases(List<String> sourcePhases)Sets the value ofClouddeployAutomationRulesAdvanceRolloutRule.getSourcePhases()ClouddeployAutomationRulesAdvanceRolloutRule.Builderwait(String wait)Sets the value ofClouddeployAutomationRulesAdvanceRolloutRule.getWait()
-
-
-
Method Detail
-
id
@Stability(Stable) public ClouddeployAutomationRulesAdvanceRolloutRule.Builder id(String id)
Sets the value ofClouddeployAutomationRulesAdvanceRolloutRule.getId()- Parameters:
id- Required. This parameter is required. ID of the rule. This id must be unique in the 'Automation' resource to which this rule belongs. The format is 'a-z{0,62}'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_automation#id ClouddeployAutomation#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
-
sourcePhases
@Stability(Stable) public ClouddeployAutomationRulesAdvanceRolloutRule.Builder sourcePhases(List<String> sourcePhases)
Sets the value ofClouddeployAutomationRulesAdvanceRolloutRule.getSourcePhases()- Parameters:
sourcePhases- Optional. Proceeds only after phase name matched any one in the list. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: '^[a-z](%5Ba-z0-9-%5D%7B0,61%7D%5Ba-z0-9%5D)?$'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_automation#source_phases ClouddeployAutomation#source_phases}- Returns:
this
-
wait
@Stability(Stable) public ClouddeployAutomationRulesAdvanceRolloutRule.Builder wait(String wait)
Sets the value ofClouddeployAutomationRulesAdvanceRolloutRule.getWait()- Parameters:
wait- Optional. How long to wait after a rollout is finished. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_automation#wait ClouddeployAutomation#wait}- Returns:
this
-
build
@Stability(Stable) public ClouddeployAutomationRulesAdvanceRolloutRule build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ClouddeployAutomationRulesAdvanceRolloutRule>- Returns:
- a new instance of
ClouddeployAutomationRulesAdvanceRolloutRule - Throws:
NullPointerException- if any required attribute was not provided
-
-