Class ApiGatewayMethodSettingsConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.api_gateway_method_settings.ApiGatewayMethodSettingsConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApiGatewayMethodSettingsConfig>
- Enclosing interface:
- ApiGatewayMethodSettingsConfig
@Stability(Stable) public static final class ApiGatewayMethodSettingsConfig.Builder extends Object implements software.amazon.jsii.Builder<ApiGatewayMethodSettingsConfig>
A builder forApiGatewayMethodSettingsConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiGatewayMethodSettingsConfigbuild()Builds the configured instance.ApiGatewayMethodSettingsConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ApiGatewayMethodSettingsConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ApiGatewayMethodSettingsConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()ApiGatewayMethodSettingsConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()ApiGatewayMethodSettingsConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()ApiGatewayMethodSettingsConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()ApiGatewayMethodSettingsConfig.Builderid(String id)Sets the value ofApiGatewayMethodSettingsConfig.getId()ApiGatewayMethodSettingsConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()ApiGatewayMethodSettingsConfig.BuildermethodPath(String methodPath)Sets the value ofApiGatewayMethodSettingsConfig.getMethodPath()ApiGatewayMethodSettingsConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()ApiGatewayMethodSettingsConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()ApiGatewayMethodSettingsConfig.BuilderrestApiId(String restApiId)Sets the value ofApiGatewayMethodSettingsConfig.getRestApiId()ApiGatewayMethodSettingsConfig.Buildersettings(ApiGatewayMethodSettingsSettings settings)Sets the value ofApiGatewayMethodSettingsConfig.getSettings()ApiGatewayMethodSettingsConfig.BuilderstageName(String stageName)Sets the value ofApiGatewayMethodSettingsConfig.getStageName()
-
-
-
Method Detail
-
methodPath
@Stability(Stable) public ApiGatewayMethodSettingsConfig.Builder methodPath(String methodPath)
Sets the value ofApiGatewayMethodSettingsConfig.getMethodPath()- Parameters:
methodPath- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#method_path ApiGatewayMethodSettings#method_path}. This parameter is required.- Returns:
this
-
restApiId
@Stability(Stable) public ApiGatewayMethodSettingsConfig.Builder restApiId(String restApiId)
Sets the value ofApiGatewayMethodSettingsConfig.getRestApiId()- Parameters:
restApiId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#rest_api_id ApiGatewayMethodSettings#rest_api_id}. This parameter is required.- Returns:
this
-
settings
@Stability(Stable) public ApiGatewayMethodSettingsConfig.Builder settings(ApiGatewayMethodSettingsSettings settings)
Sets the value ofApiGatewayMethodSettingsConfig.getSettings()- Parameters:
settings- settings block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#settings ApiGatewayMethodSettings#settings}- Returns:
this
-
stageName
@Stability(Stable) public ApiGatewayMethodSettingsConfig.Builder stageName(String stageName)
Sets the value ofApiGatewayMethodSettingsConfig.getStageName()- Parameters:
stageName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#stage_name ApiGatewayMethodSettings#stage_name}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public ApiGatewayMethodSettingsConfig.Builder id(String id)
Sets the value ofApiGatewayMethodSettingsConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_method_settings#id ApiGatewayMethodSettings#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
-
connection
@Stability(Experimental) public ApiGatewayMethodSettingsConfig.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 ApiGatewayMethodSettingsConfig.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 ApiGatewayMethodSettingsConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ApiGatewayMethodSettingsConfig.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 ApiGatewayMethodSettingsConfig.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 ApiGatewayMethodSettingsConfig.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 ApiGatewayMethodSettingsConfig.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 ApiGatewayMethodSettingsConfig.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 ApiGatewayMethodSettingsConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ApiGatewayMethodSettingsConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApiGatewayMethodSettingsConfig>- Returns:
- a new instance of
ApiGatewayMethodSettingsConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-