Class ApiGatewayIntegrationConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.api_gateway_integration.ApiGatewayIntegrationConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApiGatewayIntegrationConfig>
- Enclosing interface:
- ApiGatewayIntegrationConfig
@Stability(Stable) public static final class ApiGatewayIntegrationConfig.Builder extends Object implements software.amazon.jsii.Builder<ApiGatewayIntegrationConfig>
A builder forApiGatewayIntegrationConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
httpMethod
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder httpMethod(String httpMethod)
Sets the value ofApiGatewayIntegrationConfig.getHttpMethod()- Parameters:
httpMethod- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#http_method ApiGatewayIntegration#http_method}. This parameter is required.- Returns:
this
-
resourceId
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder resourceId(String resourceId)
Sets the value ofApiGatewayIntegrationConfig.getResourceId()- Parameters:
resourceId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#resource_id ApiGatewayIntegration#resource_id}. This parameter is required.- Returns:
this
-
restApiId
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder restApiId(String restApiId)
Sets the value ofApiGatewayIntegrationConfig.getRestApiId()- Parameters:
restApiId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#rest_api_id ApiGatewayIntegration#rest_api_id}. This parameter is required.- Returns:
this
-
type
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder type(String type)
Sets the value ofApiGatewayIntegrationConfig.getType()- Parameters:
type- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#type ApiGatewayIntegration#type}. This parameter is required.- Returns:
this
-
cacheKeyParameters
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder cacheKeyParameters(List<String> cacheKeyParameters)
Sets the value ofApiGatewayIntegrationConfig.getCacheKeyParameters()- Parameters:
cacheKeyParameters- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#cache_key_parameters ApiGatewayIntegration#cache_key_parameters}.- Returns:
this
-
cacheNamespace
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder cacheNamespace(String cacheNamespace)
Sets the value ofApiGatewayIntegrationConfig.getCacheNamespace()- Parameters:
cacheNamespace- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#cache_namespace ApiGatewayIntegration#cache_namespace}.- Returns:
this
-
connectionId
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder connectionId(String connectionId)
Sets the value ofApiGatewayIntegrationConfig.getConnectionId()- Parameters:
connectionId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#connection_id ApiGatewayIntegration#connection_id}.- Returns:
this
-
connectionType
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder connectionType(String connectionType)
Sets the value ofApiGatewayIntegrationConfig.getConnectionType()- Parameters:
connectionType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#connection_type ApiGatewayIntegration#connection_type}.- Returns:
this
-
contentHandling
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder contentHandling(String contentHandling)
Sets the value ofApiGatewayIntegrationConfig.getContentHandling()- Parameters:
contentHandling- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#content_handling ApiGatewayIntegration#content_handling}.- Returns:
this
-
credentials
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder credentials(String credentials)
Sets the value ofApiGatewayIntegrationConfig.getCredentials()- Parameters:
credentials- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#credentials ApiGatewayIntegration#credentials}.- Returns:
this
-
id
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder id(String id)
Sets the value ofApiGatewayIntegrationConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#id ApiGatewayIntegration#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
-
integrationHttpMethod
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder integrationHttpMethod(String integrationHttpMethod)
Sets the value ofApiGatewayIntegrationConfig.getIntegrationHttpMethod()- Parameters:
integrationHttpMethod- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#integration_http_method ApiGatewayIntegration#integration_http_method}.- Returns:
this
-
passthroughBehavior
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder passthroughBehavior(String passthroughBehavior)
Sets the value ofApiGatewayIntegrationConfig.getPassthroughBehavior()- Parameters:
passthroughBehavior- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#passthrough_behavior ApiGatewayIntegration#passthrough_behavior}.- Returns:
this
-
requestParameters
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder requestParameters(Map<String,String> requestParameters)
Sets the value ofApiGatewayIntegrationConfig.getRequestParameters()- Parameters:
requestParameters- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#request_parameters ApiGatewayIntegration#request_parameters}.- Returns:
this
-
requestTemplates
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder requestTemplates(Map<String,String> requestTemplates)
Sets the value ofApiGatewayIntegrationConfig.getRequestTemplates()- Parameters:
requestTemplates- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#request_templates ApiGatewayIntegration#request_templates}.- Returns:
this
-
timeoutMilliseconds
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder timeoutMilliseconds(Number timeoutMilliseconds)
Sets the value ofApiGatewayIntegrationConfig.getTimeoutMilliseconds()- Parameters:
timeoutMilliseconds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#timeout_milliseconds ApiGatewayIntegration#timeout_milliseconds}.- Returns:
this
-
tlsConfig
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder tlsConfig(ApiGatewayIntegrationTlsConfig tlsConfig)
Sets the value ofApiGatewayIntegrationConfig.getTlsConfig()- Parameters:
tlsConfig- tls_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#tls_config ApiGatewayIntegration#tls_config}- Returns:
this
-
uri
@Stability(Stable) public ApiGatewayIntegrationConfig.Builder uri(String uri)
Sets the value ofApiGatewayIntegrationConfig.getUri()- Parameters:
uri- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/api_gateway_integration#uri ApiGatewayIntegration#uri}.- Returns:
this
-
connection
@Stability(Experimental) public ApiGatewayIntegrationConfig.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 ApiGatewayIntegrationConfig.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 ApiGatewayIntegrationConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ApiGatewayIntegrationConfig.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 ApiGatewayIntegrationConfig.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 ApiGatewayIntegrationConfig.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 ApiGatewayIntegrationConfig.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 ApiGatewayIntegrationConfig.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 ApiGatewayIntegrationConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ApiGatewayIntegrationConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApiGatewayIntegrationConfig>- Returns:
- a new instance of
ApiGatewayIntegrationConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-