Class CloudSchedulerJobHttpTargetOauthToken.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloud_scheduler_job.CloudSchedulerJobHttpTargetOauthToken.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudSchedulerJobHttpTargetOauthToken>
- Enclosing interface:
- CloudSchedulerJobHttpTargetOauthToken
@Stability(Stable) public static final class CloudSchedulerJobHttpTargetOauthToken.Builder extends Object implements software.amazon.jsii.Builder<CloudSchedulerJobHttpTargetOauthToken>
A builder forCloudSchedulerJobHttpTargetOauthToken
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudSchedulerJobHttpTargetOauthTokenbuild()Builds the configured instance.CloudSchedulerJobHttpTargetOauthToken.Builderscope(String scope)Sets the value ofCloudSchedulerJobHttpTargetOauthToken.getScope()CloudSchedulerJobHttpTargetOauthToken.BuilderserviceAccountEmail(String serviceAccountEmail)Sets the value ofCloudSchedulerJobHttpTargetOauthToken.getServiceAccountEmail()
-
-
-
Method Detail
-
serviceAccountEmail
@Stability(Stable) public CloudSchedulerJobHttpTargetOauthToken.Builder serviceAccountEmail(String serviceAccountEmail)
Sets the value ofCloudSchedulerJobHttpTargetOauthToken.getServiceAccountEmail()- Parameters:
serviceAccountEmail- Service account email to be used for generating OAuth token. This parameter is required. The service account must be within the same project as the job. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_scheduler_job#service_account_email CloudSchedulerJob#service_account_email}- Returns:
this
-
scope
@Stability(Stable) public CloudSchedulerJobHttpTargetOauthToken.Builder scope(String scope)
Sets the value ofCloudSchedulerJobHttpTargetOauthToken.getScope()- Parameters:
scope- OAuth scope to be used for generating OAuth access token. If not specified, "https://www.googleapis.com/auth/cloud-platform" will be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_scheduler_job#scope CloudSchedulerJob#scope}- Returns:
this
-
build
@Stability(Stable) public CloudSchedulerJobHttpTargetOauthToken build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudSchedulerJobHttpTargetOauthToken>- Returns:
- a new instance of
CloudSchedulerJobHttpTargetOauthToken - Throws:
NullPointerException- if any required attribute was not provided
-
-