Class ComputeInstanceFromTemplateServiceAccount.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_instance_from_template.ComputeInstanceFromTemplateServiceAccount.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeInstanceFromTemplateServiceAccount>
- Enclosing interface:
- ComputeInstanceFromTemplateServiceAccount
@Stability(Stable) public static final class ComputeInstanceFromTemplateServiceAccount.Builder extends Object implements software.amazon.jsii.Builder<ComputeInstanceFromTemplateServiceAccount>
A builder forComputeInstanceFromTemplateServiceAccount
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeInstanceFromTemplateServiceAccountbuild()Builds the configured instance.ComputeInstanceFromTemplateServiceAccount.Builderemail(String email)Sets the value ofComputeInstanceFromTemplateServiceAccount.getEmail()ComputeInstanceFromTemplateServiceAccount.Builderscopes(List<String> scopes)Sets the value ofComputeInstanceFromTemplateServiceAccount.getScopes()
-
-
-
Method Detail
-
email
@Stability(Stable) public ComputeInstanceFromTemplateServiceAccount.Builder email(String email)
Sets the value ofComputeInstanceFromTemplateServiceAccount.getEmail()- Parameters:
email- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#email ComputeInstanceFromTemplate#email}.- Returns:
this
-
scopes
@Stability(Stable) public ComputeInstanceFromTemplateServiceAccount.Builder scopes(List<String> scopes)
Sets the value ofComputeInstanceFromTemplateServiceAccount.getScopes()- Parameters:
scopes- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#scopes ComputeInstanceFromTemplate#scopes}.- Returns:
this
-
build
@Stability(Stable) public ComputeInstanceFromTemplateServiceAccount build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeInstanceFromTemplateServiceAccount>- Returns:
- a new instance of
ComputeInstanceFromTemplateServiceAccount - Throws:
NullPointerException- if any required attribute was not provided
-
-