Class ApiGatewayIntegrationResponseConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.api_gateway_integration_response.ApiGatewayIntegrationResponseConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApiGatewayIntegrationResponseConfig>
- Enclosing interface:
- ApiGatewayIntegrationResponseConfig
@Stability(Stable) public static final class ApiGatewayIntegrationResponseConfig.Builder extends Object implements software.amazon.jsii.Builder<ApiGatewayIntegrationResponseConfig>
A builder forApiGatewayIntegrationResponseConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
httpMethod
@Stability(Stable) public ApiGatewayIntegrationResponseConfig.Builder httpMethod(String httpMethod)
Sets the value ofApiGatewayIntegrationResponseConfig.getHttpMethod()- Parameters:
httpMethod- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration_response#http_method ApiGatewayIntegrationResponse#http_method}. This parameter is required.- Returns:
this
-
resourceId
@Stability(Stable) public ApiGatewayIntegrationResponseConfig.Builder resourceId(String resourceId)
Sets the value ofApiGatewayIntegrationResponseConfig.getResourceId()- Parameters:
resourceId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration_response#resource_id ApiGatewayIntegrationResponse#resource_id}. This parameter is required.- Returns:
this
-
restApiId
@Stability(Stable) public ApiGatewayIntegrationResponseConfig.Builder restApiId(String restApiId)
Sets the value ofApiGatewayIntegrationResponseConfig.getRestApiId()- Parameters:
restApiId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration_response#rest_api_id ApiGatewayIntegrationResponse#rest_api_id}. This parameter is required.- Returns:
this
-
statusCode
@Stability(Stable) public ApiGatewayIntegrationResponseConfig.Builder statusCode(String statusCode)
Sets the value ofApiGatewayIntegrationResponseConfig.getStatusCode()- Parameters:
statusCode- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration_response#status_code ApiGatewayIntegrationResponse#status_code}. This parameter is required.- Returns:
this
-
contentHandling
@Stability(Stable) public ApiGatewayIntegrationResponseConfig.Builder contentHandling(String contentHandling)
Sets the value ofApiGatewayIntegrationResponseConfig.getContentHandling()- Parameters:
contentHandling- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration_response#content_handling ApiGatewayIntegrationResponse#content_handling}.- Returns:
this
-
id
@Stability(Stable) public ApiGatewayIntegrationResponseConfig.Builder id(String id)
Sets the value ofApiGatewayIntegrationResponseConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration_response#id ApiGatewayIntegrationResponse#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
-
responseParameters
@Stability(Stable) public ApiGatewayIntegrationResponseConfig.Builder responseParameters(Map<String,String> responseParameters)
Sets the value ofApiGatewayIntegrationResponseConfig.getResponseParameters()- Parameters:
responseParameters- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration_response#response_parameters ApiGatewayIntegrationResponse#response_parameters}.- Returns:
this
-
responseTemplates
@Stability(Stable) public ApiGatewayIntegrationResponseConfig.Builder responseTemplates(Map<String,String> responseTemplates)
Sets the value ofApiGatewayIntegrationResponseConfig.getResponseTemplates()- Parameters:
responseTemplates- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration_response#response_templates ApiGatewayIntegrationResponse#response_templates}.- Returns:
this
-
selectionPattern
@Stability(Stable) public ApiGatewayIntegrationResponseConfig.Builder selectionPattern(String selectionPattern)
Sets the value ofApiGatewayIntegrationResponseConfig.getSelectionPattern()- Parameters:
selectionPattern- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration_response#selection_pattern ApiGatewayIntegrationResponse#selection_pattern}.- Returns:
this
-
connection
@Stability(Experimental) public ApiGatewayIntegrationResponseConfig.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 ApiGatewayIntegrationResponseConfig.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 ApiGatewayIntegrationResponseConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ApiGatewayIntegrationResponseConfig.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 ApiGatewayIntegrationResponseConfig.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 ApiGatewayIntegrationResponseConfig.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 ApiGatewayIntegrationResponseConfig.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 ApiGatewayIntegrationResponseConfig.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 ApiGatewayIntegrationResponseConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ApiGatewayIntegrationResponseConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApiGatewayIntegrationResponseConfig>- Returns:
- a new instance of
ApiGatewayIntegrationResponseConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-