Class GetAccountAccessTokenArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.serviceAccount.inputs.GetAccountAccessTokenArgs.Builder
-
- Enclosing class:
- GetAccountAccessTokenArgs
public static final class GetAccountAccessTokenArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(GetAccountAccessTokenArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAccountAccessTokenArgs
build()
GetAccountAccessTokenArgs.Builder
delegates(com.pulumi.core.Output<java.util.List<java.lang.String>> delegates)
GetAccountAccessTokenArgs.Builder
delegates(java.lang.String... delegates)
GetAccountAccessTokenArgs.Builder
delegates(java.util.List<java.lang.String> delegates)
GetAccountAccessTokenArgs.Builder
lifetime(com.pulumi.core.Output<java.lang.String> lifetime)
GetAccountAccessTokenArgs.Builder
lifetime(java.lang.String lifetime)
GetAccountAccessTokenArgs.Builder
scopes(com.pulumi.core.Output<java.util.List<java.lang.String>> scopes)
GetAccountAccessTokenArgs.Builder
scopes(java.lang.String... scopes)
GetAccountAccessTokenArgs.Builder
scopes(java.util.List<java.lang.String> scopes)
GetAccountAccessTokenArgs.Builder
targetServiceAccount(com.pulumi.core.Output<java.lang.String> targetServiceAccount)
GetAccountAccessTokenArgs.Builder
targetServiceAccount(java.lang.String targetServiceAccount)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetAccountAccessTokenArgs defaults)
-
-
Method Detail
-
delegates
public GetAccountAccessTokenArgs.Builder delegates(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> delegates)
- Parameters:
delegates
- Delegate chain of approvals needed to perform full impersonation. Specify the fully qualified service account name. (e.g. `["projects/-/serviceAccounts/[email protected]"]`)- Returns:
- builder
-
delegates
public GetAccountAccessTokenArgs.Builder delegates(java.util.List<java.lang.String> delegates)
- Parameters:
delegates
- Delegate chain of approvals needed to perform full impersonation. Specify the fully qualified service account name. (e.g. `["projects/-/serviceAccounts/[email protected]"]`)- Returns:
- builder
-
delegates
public GetAccountAccessTokenArgs.Builder delegates(java.lang.String... delegates)
- Parameters:
delegates
- Delegate chain of approvals needed to perform full impersonation. Specify the fully qualified service account name. (e.g. `["projects/-/serviceAccounts/[email protected]"]`)- Returns:
- builder
-
lifetime
public GetAccountAccessTokenArgs.Builder lifetime(@Nullable com.pulumi.core.Output<java.lang.String> lifetime)
- Parameters:
lifetime
- Lifetime of the impersonated token (defaults to its max: `3600s`).- Returns:
- builder
-
lifetime
public GetAccountAccessTokenArgs.Builder lifetime(java.lang.String lifetime)
- Parameters:
lifetime
- Lifetime of the impersonated token (defaults to its max: `3600s`).- Returns:
- builder
-
scopes
public GetAccountAccessTokenArgs.Builder scopes(com.pulumi.core.Output<java.util.List<java.lang.String>> scopes)
- Parameters:
scopes
- The scopes the new credential should have (e.g. `["cloud-platform"]`)- Returns:
- builder
-
scopes
public GetAccountAccessTokenArgs.Builder scopes(java.util.List<java.lang.String> scopes)
- Parameters:
scopes
- The scopes the new credential should have (e.g. `["cloud-platform"]`)- Returns:
- builder
-
scopes
public GetAccountAccessTokenArgs.Builder scopes(java.lang.String... scopes)
- Parameters:
scopes
- The scopes the new credential should have (e.g. `["cloud-platform"]`)- Returns:
- builder
-
targetServiceAccount
public GetAccountAccessTokenArgs.Builder targetServiceAccount(com.pulumi.core.Output<java.lang.String> targetServiceAccount)
- Parameters:
targetServiceAccount
- The service account _to_ impersonate (e.g. `[email protected]`)- Returns:
- builder
-
targetServiceAccount
public GetAccountAccessTokenArgs.Builder targetServiceAccount(java.lang.String targetServiceAccount)
- Parameters:
targetServiceAccount
- The service account _to_ impersonate (e.g. `[email protected]`)- Returns:
- builder
-
build
public GetAccountAccessTokenArgs build()
-
-