Class GetAccountAccessTokenArgs.Builder

  • Enclosing class:
    GetAccountAccessTokenArgs

    public static final class GetAccountAccessTokenArgs.Builder
    extends java.lang.Object
    • 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