Class ApigeeFlowhookConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.apigee_flowhook.ApigeeFlowhookConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApigeeFlowhookConfig>
- Enclosing interface:
- ApigeeFlowhookConfig
@Stability(Stable) public static final class ApigeeFlowhookConfig.Builder extends Object implements software.amazon.jsii.Builder<ApigeeFlowhookConfig>
A builder forApigeeFlowhookConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApigeeFlowhookConfigbuild()Builds the configured instance.ApigeeFlowhookConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ApigeeFlowhookConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ApigeeFlowhookConfig.BuildercontinueOnError(com.hashicorp.cdktf.IResolvable continueOnError)Sets the value ofApigeeFlowhookConfig.getContinueOnError()ApigeeFlowhookConfig.BuildercontinueOnError(Boolean continueOnError)Sets the value ofApigeeFlowhookConfig.getContinueOnError()ApigeeFlowhookConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()ApigeeFlowhookConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()ApigeeFlowhookConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()ApigeeFlowhookConfig.Builderdescription(String description)Sets the value ofApigeeFlowhookConfig.getDescription()ApigeeFlowhookConfig.Builderenvironment(String environment)Sets the value ofApigeeFlowhookConfig.getEnvironment()ApigeeFlowhookConfig.BuilderflowHookPoint(String flowHookPoint)Sets the value ofApigeeFlowhookConfig.getFlowHookPoint()ApigeeFlowhookConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()ApigeeFlowhookConfig.Builderid(String id)Sets the value ofApigeeFlowhookConfig.getId()ApigeeFlowhookConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()ApigeeFlowhookConfig.BuilderorgId(String orgId)Sets the value ofApigeeFlowhookConfig.getOrgId()ApigeeFlowhookConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()ApigeeFlowhookConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()ApigeeFlowhookConfig.Buildersharedflow(String sharedflow)Sets the value ofApigeeFlowhookConfig.getSharedflow()ApigeeFlowhookConfig.Buildertimeouts(ApigeeFlowhookTimeouts timeouts)Sets the value ofApigeeFlowhookConfig.getTimeouts()
-
-
-
Method Detail
-
environment
@Stability(Stable) public ApigeeFlowhookConfig.Builder environment(String environment)
Sets the value ofApigeeFlowhookConfig.getEnvironment()- Parameters:
environment- The resource ID of the environment. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#environment ApigeeFlowhook#environment}- Returns:
this
-
flowHookPoint
@Stability(Stable) public ApigeeFlowhookConfig.Builder flowHookPoint(String flowHookPoint)
Sets the value ofApigeeFlowhookConfig.getFlowHookPoint()- Parameters:
flowHookPoint- Where in the API call flow the flow hook is invoked. This parameter is required. Must be one of PreProxyFlowHook, PostProxyFlowHook, PreTargetFlowHook, or PostTargetFlowHook. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#flow_hook_point ApigeeFlowhook#flow_hook_point}- Returns:
this
-
orgId
@Stability(Stable) public ApigeeFlowhookConfig.Builder orgId(String orgId)
Sets the value ofApigeeFlowhookConfig.getOrgId()- Parameters:
orgId- The Apigee Organization associated with the environment. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#org_id ApigeeFlowhook#org_id}- Returns:
this
-
sharedflow
@Stability(Stable) public ApigeeFlowhookConfig.Builder sharedflow(String sharedflow)
Sets the value ofApigeeFlowhookConfig.getSharedflow()- Parameters:
sharedflow- Id of the Sharedflow attaching to a flowhook point. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#sharedflow ApigeeFlowhook#sharedflow}- Returns:
this
-
continueOnError
@Stability(Stable) public ApigeeFlowhookConfig.Builder continueOnError(Boolean continueOnError)
Sets the value ofApigeeFlowhookConfig.getContinueOnError()- Parameters:
continueOnError- Flag that specifies whether execution should continue if the flow hook throws an exception. Set to true to continue execution. Set to false to stop execution if the flow hook throws an exception. Defaults to true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#continue_on_error ApigeeFlowhook#continue_on_error}- Returns:
this
-
continueOnError
@Stability(Stable) public ApigeeFlowhookConfig.Builder continueOnError(com.hashicorp.cdktf.IResolvable continueOnError)
Sets the value ofApigeeFlowhookConfig.getContinueOnError()- Parameters:
continueOnError- Flag that specifies whether execution should continue if the flow hook throws an exception. Set to true to continue execution. Set to false to stop execution if the flow hook throws an exception. Defaults to true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#continue_on_error ApigeeFlowhook#continue_on_error}- Returns:
this
-
description
@Stability(Stable) public ApigeeFlowhookConfig.Builder description(String description)
Sets the value ofApigeeFlowhookConfig.getDescription()- Parameters:
description- Description of the flow hook. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#description ApigeeFlowhook#description}- Returns:
this
-
id
@Stability(Stable) public ApigeeFlowhookConfig.Builder id(String id)
Sets the value ofApigeeFlowhookConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#id ApigeeFlowhook#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 ApigeeFlowhookConfig.Builder timeouts(ApigeeFlowhookTimeouts timeouts)
Sets the value ofApigeeFlowhookConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_flowhook#timeouts ApigeeFlowhook#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public ApigeeFlowhookConfig.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 ApigeeFlowhookConfig.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 ApigeeFlowhookConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ApigeeFlowhookConfig.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 ApigeeFlowhookConfig.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 ApigeeFlowhookConfig.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 ApigeeFlowhookConfig.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 ApigeeFlowhookConfig.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 ApigeeFlowhookConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ApigeeFlowhookConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApigeeFlowhookConfig>- Returns:
- a new instance of
ApigeeFlowhookConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-