Class ApigeeOrganizationConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.apigee_organization.ApigeeOrganizationConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApigeeOrganizationConfig>
- Enclosing interface:
- ApigeeOrganizationConfig
@Stability(Stable) public static final class ApigeeOrganizationConfig.Builder extends Object implements software.amazon.jsii.Builder<ApigeeOrganizationConfig>
A builder forApigeeOrganizationConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
projectId
@Stability(Stable) public ApigeeOrganizationConfig.Builder projectId(String projectId)
Sets the value ofApigeeOrganizationConfig.getProjectId()- Parameters:
projectId- The project ID associated with the Apigee organization. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_organization#project_id ApigeeOrganization#project_id}- Returns:
this
-
analyticsRegion
@Stability(Stable) public ApigeeOrganizationConfig.Builder analyticsRegion(String analyticsRegion)
Sets the value ofApigeeOrganizationConfig.getAnalyticsRegion()- Parameters:
analyticsRegion- Primary GCP region for analytics data storage. For valid values, see Create an Apigee organization. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_organization#analytics_region ApigeeOrganization#analytics_region}- Returns:
this
-
apiConsumerDataEncryptionKeyName
@Stability(Stable) public ApigeeOrganizationConfig.Builder apiConsumerDataEncryptionKeyName(String apiConsumerDataEncryptionKeyName)
Sets the value ofApigeeOrganizationConfig.getApiConsumerDataEncryptionKeyName()- Parameters:
apiConsumerDataEncryptionKeyName- Cloud KMS key name used for encrypting API consumer data. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_organization#api_consumer_data_encryption_key_name ApigeeOrganization#api_consumer_data_encryption_key_name}- Returns:
this
-
apiConsumerDataLocation
@Stability(Stable) public ApigeeOrganizationConfig.Builder apiConsumerDataLocation(String apiConsumerDataLocation)
Sets the value ofApigeeOrganizationConfig.getApiConsumerDataLocation()- Parameters:
apiConsumerDataLocation- This field is needed only for customers using non-default data residency regions. Apigee stores some control plane data only in single region. This field determines which single region Apigee should use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_organization#api_consumer_data_location ApigeeOrganization#api_consumer_data_location}- Returns:
this
-
authorizedNetwork
@Stability(Stable) public ApigeeOrganizationConfig.Builder authorizedNetwork(String authorizedNetwork)
Sets the value ofApigeeOrganizationConfig.getAuthorizedNetwork()- Parameters:
authorizedNetwork- Compute Engine network used for Service Networking to be peered with Apigee runtime instances. See [Getting started with the Service Networking API](https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started). Valid only when 'RuntimeType' is set to CLOUD. The value can be updated only when there are no runtime instances. For example: "default". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_organization#authorized_network ApigeeOrganization#authorized_network}- Returns:
this
-
billingType
@Stability(Stable) public ApigeeOrganizationConfig.Builder billingType(String billingType)
Sets the value ofApigeeOrganizationConfig.getBillingType()- Parameters:
billingType- Billing type of the Apigee organization. See Apigee pricing. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_organization#billing_type ApigeeOrganization#billing_type}- Returns:
this
-
controlPlaneEncryptionKeyName
@Stability(Stable) public ApigeeOrganizationConfig.Builder controlPlaneEncryptionKeyName(String controlPlaneEncryptionKeyName)
Sets the value ofApigeeOrganizationConfig.getControlPlaneEncryptionKeyName()- Parameters:
controlPlaneEncryptionKeyName- Cloud KMS key name used for encrypting control plane data that is stored in a multi region. Only used for the data residency region "US" or "EU". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_organization#control_plane_encryption_key_name ApigeeOrganization#control_plane_encryption_key_name}- Returns:
this
-
description
@Stability(Stable) public ApigeeOrganizationConfig.Builder description(String description)
Sets the value ofApigeeOrganizationConfig.getDescription()- Parameters:
description- Description of the Apigee organization. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_organization#description ApigeeOrganization#description}- Returns:
this
-
disableVpcPeering
@Stability(Stable) public ApigeeOrganizationConfig.Builder disableVpcPeering(Boolean disableVpcPeering)
Sets the value ofApigeeOrganizationConfig.getDisableVpcPeering()- Parameters:
disableVpcPeering- Flag that specifies whether the VPC Peering through Private Google Access should be disabled between the consumer network and Apigee. Required if an 'authorizedNetwork' on the consumer project is not provided, in which case the flag should be set to 'true'. Valid only when 'RuntimeType' is set to CLOUD. The value must be set before the creation of any Apigee runtime instance and can be updated only when there are no runtime instances. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_organization#disable_vpc_peering ApigeeOrganization#disable_vpc_peering}- Returns:
this
-
disableVpcPeering
@Stability(Stable) public ApigeeOrganizationConfig.Builder disableVpcPeering(com.hashicorp.cdktf.IResolvable disableVpcPeering)
Sets the value ofApigeeOrganizationConfig.getDisableVpcPeering()- Parameters:
disableVpcPeering- Flag that specifies whether the VPC Peering through Private Google Access should be disabled between the consumer network and Apigee. Required if an 'authorizedNetwork' on the consumer project is not provided, in which case the flag should be set to 'true'. Valid only when 'RuntimeType' is set to CLOUD. The value must be set before the creation of any Apigee runtime instance and can be updated only when there are no runtime instances. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_organization#disable_vpc_peering ApigeeOrganization#disable_vpc_peering}- Returns:
this
-
displayName
@Stability(Stable) public ApigeeOrganizationConfig.Builder displayName(String displayName)
Sets the value ofApigeeOrganizationConfig.getDisplayName()- Parameters:
displayName- The display name of the Apigee organization. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_organization#display_name ApigeeOrganization#display_name}- Returns:
this
-
id
@Stability(Stable) public ApigeeOrganizationConfig.Builder id(String id)
Sets the value ofApigeeOrganizationConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_organization#id ApigeeOrganization#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
-
properties
@Stability(Stable) public ApigeeOrganizationConfig.Builder properties(ApigeeOrganizationProperties properties)
Sets the value ofApigeeOrganizationConfig.getProperties()- Parameters:
properties- properties block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_organization#properties ApigeeOrganization#properties}- Returns:
this
-
retention
@Stability(Stable) public ApigeeOrganizationConfig.Builder retention(String retention)
Sets the value ofApigeeOrganizationConfig.getRetention()- Parameters:
retention- Optional. This setting is applicable only for organizations that are soft-deleted (i.e., BillingType is not EVALUATION). It controls how long Organization data will be retained after the initial delete operation completes. During this period, the Organization may be restored to its last known state. After this period, the Organization will no longer be able to be restored. Default value: "DELETION_RETENTION_UNSPECIFIED" Possible values: ["DELETION_RETENTION_UNSPECIFIED", "MINIMUM"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_organization#retention ApigeeOrganization#retention}- Returns:
this
-
runtimeDatabaseEncryptionKeyName
@Stability(Stable) public ApigeeOrganizationConfig.Builder runtimeDatabaseEncryptionKeyName(String runtimeDatabaseEncryptionKeyName)
Sets the value ofApigeeOrganizationConfig.getRuntimeDatabaseEncryptionKeyName()- Parameters:
runtimeDatabaseEncryptionKeyName- Cloud KMS key name used for encrypting the data that is stored and replicated across runtime instances. Update is not allowed after the organization is created. If not specified, a Google-Managed encryption key will be used. Valid only when 'RuntimeType' is CLOUD. For example: 'projects/foo/locations/us/keyRings/bar/cryptoKeys/baz'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_organization#runtime_database_encryption_key_name ApigeeOrganization#runtime_database_encryption_key_name}- Returns:
this
-
runtimeType
@Stability(Stable) public ApigeeOrganizationConfig.Builder runtimeType(String runtimeType)
Sets the value ofApigeeOrganizationConfig.getRuntimeType()- Parameters:
runtimeType- Runtime type of the Apigee organization based on the Apigee subscription purchased. Default value: "CLOUD" Possible values: ["CLOUD", "HYBRID"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_organization#runtime_type ApigeeOrganization#runtime_type}- Returns:
this
-
timeouts
@Stability(Stable) public ApigeeOrganizationConfig.Builder timeouts(ApigeeOrganizationTimeouts timeouts)
Sets the value ofApigeeOrganizationConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_organization#timeouts ApigeeOrganization#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public ApigeeOrganizationConfig.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 ApigeeOrganizationConfig.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 ApigeeOrganizationConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ApigeeOrganizationConfig.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 ApigeeOrganizationConfig.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 ApigeeOrganizationConfig.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 ApigeeOrganizationConfig.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 ApigeeOrganizationConfig.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 ApigeeOrganizationConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ApigeeOrganizationConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApigeeOrganizationConfig>- Returns:
- a new instance of
ApigeeOrganizationConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-