Package com.pulumi.gcp.serviceAccount
Class AccountArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.serviceAccount.AccountArgs.Builder
-
- Enclosing class:
- AccountArgs
public static final class AccountArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(AccountArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountArgs.Builder
accountId(com.pulumi.core.Output<java.lang.String> accountId)
AccountArgs.Builder
accountId(java.lang.String accountId)
AccountArgs
build()
AccountArgs.Builder
description(com.pulumi.core.Output<java.lang.String> description)
AccountArgs.Builder
description(java.lang.String description)
AccountArgs.Builder
disabled(com.pulumi.core.Output<java.lang.Boolean> disabled)
AccountArgs.Builder
disabled(java.lang.Boolean disabled)
AccountArgs.Builder
displayName(com.pulumi.core.Output<java.lang.String> displayName)
AccountArgs.Builder
displayName(java.lang.String displayName)
AccountArgs.Builder
project(com.pulumi.core.Output<java.lang.String> project)
AccountArgs.Builder
project(java.lang.String project)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AccountArgs defaults)
-
-
Method Detail
-
accountId
public AccountArgs.Builder accountId(com.pulumi.core.Output<java.lang.String> accountId)
- Parameters:
accountId
- The account id that is used to generate the service account email address and a stable unique id. It is unique within a project, must be 6-30 characters long, and match the regular expression `a-z` to comply with RFC1035. Changing this forces a new service account to be created.- Returns:
- builder
-
accountId
public AccountArgs.Builder accountId(java.lang.String accountId)
- Parameters:
accountId
- The account id that is used to generate the service account email address and a stable unique id. It is unique within a project, must be 6-30 characters long, and match the regular expression `a-z` to comply with RFC1035. Changing this forces a new service account to be created.- Returns:
- builder
-
description
public AccountArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- A text description of the service account. Must be less than or equal to 256 UTF-8 bytes.- Returns:
- builder
-
description
public AccountArgs.Builder description(java.lang.String description)
- Parameters:
description
- A text description of the service account. Must be less than or equal to 256 UTF-8 bytes.- Returns:
- builder
-
disabled
public AccountArgs.Builder disabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> disabled)
- Parameters:
disabled
- Whether a service account is disabled or not. Defaults to `false`. This field has no effect during creation. Must be set after creation to disable a service account.- Returns:
- builder
-
disabled
public AccountArgs.Builder disabled(java.lang.Boolean disabled)
- Parameters:
disabled
- Whether a service account is disabled or not. Defaults to `false`. This field has no effect during creation. Must be set after creation to disable a service account.- Returns:
- builder
-
displayName
public AccountArgs.Builder displayName(@Nullable com.pulumi.core.Output<java.lang.String> displayName)
- Parameters:
displayName
- The display name for the service account. Can be updated without creating a new resource.- Returns:
- builder
-
displayName
public AccountArgs.Builder displayName(java.lang.String displayName)
- Parameters:
displayName
- The display name for the service account. Can be updated without creating a new resource.- Returns:
- builder
-
project
public AccountArgs.Builder project(@Nullable com.pulumi.core.Output<java.lang.String> project)
- Parameters:
project
- The ID of the project that the service account will be created in. Defaults to the provider project configuration.- Returns:
- builder
-
project
public AccountArgs.Builder project(java.lang.String project)
- Parameters:
project
- The ID of the project that the service account will be created in. Defaults to the provider project configuration.- Returns:
- builder
-
build
public AccountArgs build()
-
-