Class CloudSchedulerJobAppEngineHttpTarget.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloud_scheduler_job.CloudSchedulerJobAppEngineHttpTarget.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudSchedulerJobAppEngineHttpTarget>
- Enclosing interface:
- CloudSchedulerJobAppEngineHttpTarget
@Stability(Stable) public static final class CloudSchedulerJobAppEngineHttpTarget.Builder extends Object implements software.amazon.jsii.Builder<CloudSchedulerJobAppEngineHttpTarget>
A builder forCloudSchedulerJobAppEngineHttpTarget
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudSchedulerJobAppEngineHttpTarget.BuilderappEngineRouting(CloudSchedulerJobAppEngineHttpTargetAppEngineRouting appEngineRouting)Sets the value ofCloudSchedulerJobAppEngineHttpTarget.getAppEngineRouting()CloudSchedulerJobAppEngineHttpTarget.Builderbody(String body)Sets the value ofCloudSchedulerJobAppEngineHttpTarget.getBody()CloudSchedulerJobAppEngineHttpTargetbuild()Builds the configured instance.CloudSchedulerJobAppEngineHttpTarget.Builderheaders(Map<String,String> headers)Sets the value ofCloudSchedulerJobAppEngineHttpTarget.getHeaders()CloudSchedulerJobAppEngineHttpTarget.BuilderhttpMethod(String httpMethod)Sets the value ofCloudSchedulerJobAppEngineHttpTarget.getHttpMethod()CloudSchedulerJobAppEngineHttpTarget.BuilderrelativeUri(String relativeUri)Sets the value ofCloudSchedulerJobAppEngineHttpTarget.getRelativeUri()
-
-
-
Method Detail
-
relativeUri
@Stability(Stable) public CloudSchedulerJobAppEngineHttpTarget.Builder relativeUri(String relativeUri)
Sets the value ofCloudSchedulerJobAppEngineHttpTarget.getRelativeUri()- Parameters:
relativeUri- The relative URI. This parameter is required. The relative URL must begin with "/" and must be a valid HTTP relative URL. It can contain a path, query string arguments, and # fragments. If the relative URL is empty, then the root path "/" will be used. No spaces are allowed, and the maximum length allowed is 2083 characters Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_scheduler_job#relative_uri CloudSchedulerJob#relative_uri}- Returns:
this
-
appEngineRouting
@Stability(Stable) public CloudSchedulerJobAppEngineHttpTarget.Builder appEngineRouting(CloudSchedulerJobAppEngineHttpTargetAppEngineRouting appEngineRouting)
Sets the value ofCloudSchedulerJobAppEngineHttpTarget.getAppEngineRouting()- Parameters:
appEngineRouting- app_engine_routing block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_scheduler_job#app_engine_routing CloudSchedulerJob#app_engine_routing}- Returns:
this
-
body
@Stability(Stable) public CloudSchedulerJobAppEngineHttpTarget.Builder body(String body)
Sets the value ofCloudSchedulerJobAppEngineHttpTarget.getBody()- Parameters:
body- HTTP request body. A request body is allowed only if the HTTP method is POST or PUT. It will result in invalid argument error to set a body on a job with an incompatible HttpMethod. A base64-encoded string. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_scheduler_job#body CloudSchedulerJob#body}- Returns:
this
-
headers
@Stability(Stable) public CloudSchedulerJobAppEngineHttpTarget.Builder headers(Map<String,String> headers)
Sets the value ofCloudSchedulerJobAppEngineHttpTarget.getHeaders()- Parameters:
headers- HTTP request headers. This map contains the header field names and values. Headers can be set when the job is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_scheduler_job#headers CloudSchedulerJob#headers}- Returns:
this
-
httpMethod
@Stability(Stable) public CloudSchedulerJobAppEngineHttpTarget.Builder httpMethod(String httpMethod)
Sets the value ofCloudSchedulerJobAppEngineHttpTarget.getHttpMethod()- Parameters:
httpMethod- Which HTTP method to use for the request. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_scheduler_job#http_method CloudSchedulerJob#http_method}- Returns:
this
-
build
@Stability(Stable) public CloudSchedulerJobAppEngineHttpTarget build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudSchedulerJobAppEngineHttpTarget>- Returns:
- a new instance of
CloudSchedulerJobAppEngineHttpTarget - Throws:
NullPointerException- if any required attribute was not provided
-
-