Class EventarcGoogleChannelConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.eventarc_google_channel_config.EventarcGoogleChannelConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<EventarcGoogleChannelConfig>
- Enclosing class:
- EventarcGoogleChannelConfig
@Stability(Stable) public static final class EventarcGoogleChannelConfig.Builder extends Object implements software.amazon.jsii.Builder<EventarcGoogleChannelConfig>
A fluent builder forEventarcGoogleChannelConfig.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EventarcGoogleChannelConfigbuild()EventarcGoogleChannelConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)EventarcGoogleChannelConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)EventarcGoogleChannelConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)EventarcGoogleChannelConfig.Buildercount(Number count)static EventarcGoogleChannelConfig.Buildercreate(software.constructs.Construct scope, String id)EventarcGoogleChannelConfig.BuildercryptoKeyName(String cryptoKeyName)Optional.EventarcGoogleChannelConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)EventarcGoogleChannelConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)EventarcGoogleChannelConfig.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_google_channel_config#id EventarcGoogleChannelConfig#id}.EventarcGoogleChannelConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)EventarcGoogleChannelConfig.Builderlocation(String location)The location for the resource.EventarcGoogleChannelConfig.Buildername(String name)Required.EventarcGoogleChannelConfig.Builderproject(String project)The project for the resource.EventarcGoogleChannelConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)EventarcGoogleChannelConfig.Builderprovisioners(List<? extends Object> provisioners)EventarcGoogleChannelConfig.Buildertimeouts(EventarcGoogleChannelConfigTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static EventarcGoogleChannelConfig.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
EventarcGoogleChannelConfig.Builder.
-
connection
@Stability(Experimental) public EventarcGoogleChannelConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public EventarcGoogleChannelConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public EventarcGoogleChannelConfig.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public EventarcGoogleChannelConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public EventarcGoogleChannelConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public EventarcGoogleChannelConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public EventarcGoogleChannelConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public EventarcGoogleChannelConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public EventarcGoogleChannelConfig.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
location
@Stability(Stable) public EventarcGoogleChannelConfig.Builder location(String location)
The location for the resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_google_channel_config#location EventarcGoogleChannelConfig#location}
- Parameters:
location- The location for the resource. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public EventarcGoogleChannelConfig.Builder name(String name)
Required. The resource name of the config. Must be in the format of,projects/{project}/locations/{location}/googleChannelConfig.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_google_channel_config#name EventarcGoogleChannelConfig#name}
- Parameters:
name- Required. The resource name of the config. Must be in the format of,projects/{project}/locations/{location}/googleChannelConfig. This parameter is required.- Returns:
this
-
cryptoKeyName
@Stability(Stable) public EventarcGoogleChannelConfig.Builder cryptoKeyName(String cryptoKeyName)
Optional.Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/* /locations/* /keyRings/* /cryptoKeys/*`. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_google_channel_config#crypto_key_name EventarcGoogleChannelConfig#crypto_key_name} Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space.
- Parameters:
cryptoKeyName- Optional. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public EventarcGoogleChannelConfig.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_google_channel_config#id EventarcGoogleChannelConfig#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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_google_channel_config#id EventarcGoogleChannelConfig#id}. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public EventarcGoogleChannelConfig.Builder project(String project)
The project for the resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_google_channel_config#project EventarcGoogleChannelConfig#project}
- Parameters:
project- The project for the resource. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public EventarcGoogleChannelConfig.Builder timeouts(EventarcGoogleChannelConfigTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/eventarc_google_channel_config#timeouts EventarcGoogleChannelConfig#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public EventarcGoogleChannelConfig build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EventarcGoogleChannelConfig>- Returns:
- a newly built instance of
EventarcGoogleChannelConfig.
-
-