Class ApigeeTargetServer.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static ApigeeTargetServer.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 ApigeeTargetServer.Builder.
      • connection

        @Stability(Experimental)
        public ApigeeTargetServer.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public ApigeeTargetServer.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public ApigeeTargetServer.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public ApigeeTargetServer.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public ApigeeTargetServer.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public ApigeeTargetServer.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public ApigeeTargetServer.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public ApigeeTargetServer.Builder provisioners​(List<? extends Object> provisioners)
        Parameters:
        provisioners - This parameter is required.
        Returns:
        this
      • envId

        @Stability(Stable)
        public ApigeeTargetServer.Builder envId​(String envId)
        The Apigee environment group associated with the Apigee environment, in the format 'organizations/{{org_name}}/environments/{{env_name}}'.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#env_id ApigeeTargetServer#env_id}

        Parameters:
        envId - The Apigee environment group associated with the Apigee environment, in the format 'organizations/{{org_name}}/environments/{{env_name}}'. This parameter is required.
        Returns:
        this
      • host

        @Stability(Stable)
        public ApigeeTargetServer.Builder host​(String host)
        The host name this target connects to. Value must be a valid hostname as described by RFC-1123.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#host ApigeeTargetServer#host}

        Parameters:
        host - The host name this target connects to. Value must be a valid hostname as described by RFC-1123. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public ApigeeTargetServer.Builder name​(String name)
        The resource id of this reference. Values must match the regular expression [\w\s-.]+.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#name ApigeeTargetServer#name}

        Parameters:
        name - The resource id of this reference. Values must match the regular expression [\w\s-.]+. This parameter is required.
        Returns:
        this
      • port

        @Stability(Stable)
        public ApigeeTargetServer.Builder port​(Number port)
        The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#port ApigeeTargetServer#port}

        Parameters:
        port - The port number this target connects to on the given host. Value must be between 1 and 65535, inclusive. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public ApigeeTargetServer.Builder description​(String description)
        A human-readable description of this TargetServer.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#description ApigeeTargetServer#description}

        Parameters:
        description - A human-readable description of this TargetServer. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public ApigeeTargetServer.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#id ApigeeTargetServer#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/apigee_target_server#id ApigeeTargetServer#id}. This parameter is required.
        Returns:
        this
      • isEnabled

        @Stability(Stable)
        public ApigeeTargetServer.Builder isEnabled​(Boolean isEnabled)
        Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically.

        Defaults to true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#is_enabled ApigeeTargetServer#is_enabled}

        Parameters:
        isEnabled - Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically. This parameter is required.
        Returns:
        this
      • isEnabled

        @Stability(Stable)
        public ApigeeTargetServer.Builder isEnabled​(com.hashicorp.cdktf.IResolvable isEnabled)
        Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically.

        Defaults to true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#is_enabled ApigeeTargetServer#is_enabled}

        Parameters:
        isEnabled - Enabling/disabling a TargetServer is useful when TargetServers are used in load balancing configurations, and one or more TargetServers need to taken out of rotation periodically. This parameter is required.
        Returns:
        this
      • protocol

        @Stability(Stable)
        public ApigeeTargetServer.Builder protocol​(String protocol)
        Immutable. The protocol used by this TargetServer. Possible values: ["HTTP", "HTTP2", "GRPC_TARGET", "GRPC", "EXTERNAL_CALLOUT"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#protocol ApigeeTargetServer#protocol}

        Parameters:
        protocol - Immutable. The protocol used by this TargetServer. Possible values: ["HTTP", "HTTP2", "GRPC_TARGET", "GRPC", "EXTERNAL_CALLOUT"]. This parameter is required.
        Returns:
        this
      • sSlInfo

        @Stability(Stable)
        public ApigeeTargetServer.Builder sSlInfo​(ApigeeTargetServerSSlInfo sSlInfo)
        s_sl_info block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#s_sl_info ApigeeTargetServer#s_sl_info}

        Parameters:
        sSlInfo - s_sl_info block. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public ApigeeTargetServer.Builder timeouts​(ApigeeTargetServerTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apigee_target_server#timeouts ApigeeTargetServer#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this