Class ApigeeSharedflowConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.apigee_sharedflow.ApigeeSharedflowConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApigeeSharedflowConfig>
- Enclosing interface:
- ApigeeSharedflowConfig
@Stability(Stable) public static final class ApigeeSharedflowConfig.Builder extends Object implements software.amazon.jsii.Builder<ApigeeSharedflowConfig>
A builder forApigeeSharedflowConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApigeeSharedflowConfigbuild()Builds the configured instance.ApigeeSharedflowConfig.BuilderconfigBundle(String configBundle)Sets the value ofApigeeSharedflowConfig.getConfigBundle()ApigeeSharedflowConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ApigeeSharedflowConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ApigeeSharedflowConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()ApigeeSharedflowConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()ApigeeSharedflowConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()ApigeeSharedflowConfig.BuilderdetectMd5Hash(String detectMd5Hash)Sets the value ofApigeeSharedflowConfig.getDetectMd5Hash()ApigeeSharedflowConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()ApigeeSharedflowConfig.Builderid(String id)Sets the value ofApigeeSharedflowConfig.getId()ApigeeSharedflowConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()ApigeeSharedflowConfig.Buildername(String name)Sets the value ofApigeeSharedflowConfig.getName()ApigeeSharedflowConfig.BuilderorgId(String orgId)Sets the value ofApigeeSharedflowConfig.getOrgId()ApigeeSharedflowConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()ApigeeSharedflowConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()ApigeeSharedflowConfig.Buildertimeouts(ApigeeSharedflowTimeouts timeouts)Sets the value ofApigeeSharedflowConfig.getTimeouts()
-
-
-
Method Detail
-
configBundle
@Stability(Stable) public ApigeeSharedflowConfig.Builder configBundle(String configBundle)
Sets the value ofApigeeSharedflowConfig.getConfigBundle()- Parameters:
configBundle- Path to the config zip bundle. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_sharedflow#config_bundle ApigeeSharedflow#config_bundle}- Returns:
this
-
name
@Stability(Stable) public ApigeeSharedflowConfig.Builder name(String name)
Sets the value ofApigeeSharedflowConfig.getName()- Parameters:
name- The ID of the shared flow. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_sharedflow#name ApigeeSharedflow#name}- Returns:
this
-
orgId
@Stability(Stable) public ApigeeSharedflowConfig.Builder orgId(String orgId)
Sets the value ofApigeeSharedflowConfig.getOrgId()- Parameters:
orgId- The Apigee Organization name associated with the Apigee instance. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_sharedflow#org_id ApigeeSharedflow#org_id}- Returns:
this
-
detectMd5Hash
@Stability(Stable) public ApigeeSharedflowConfig.Builder detectMd5Hash(String detectMd5Hash)
Sets the value ofApigeeSharedflowConfig.getDetectMd5Hash()- Parameters:
detectMd5Hash- A hash of local config bundle in string, user needs to use a Terraform Hash function of their choice. A change in hash will trigger an update. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_sharedflow#detect_md5hash ApigeeSharedflow#detect_md5hash}- Returns:
this
-
id
@Stability(Stable) public ApigeeSharedflowConfig.Builder id(String id)
Sets the value ofApigeeSharedflowConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_sharedflow#id ApigeeSharedflow#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
-
timeouts
@Stability(Stable) public ApigeeSharedflowConfig.Builder timeouts(ApigeeSharedflowTimeouts timeouts)
Sets the value ofApigeeSharedflowConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_sharedflow#timeouts ApigeeSharedflow#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public ApigeeSharedflowConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public ApigeeSharedflowConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ApigeeSharedflowConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ApigeeSharedflowConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public ApigeeSharedflowConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public ApigeeSharedflowConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public ApigeeSharedflowConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public ApigeeSharedflowConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public ApigeeSharedflowConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ApigeeSharedflowConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApigeeSharedflowConfig>- Returns:
- a new instance of
ApigeeSharedflowConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-