クラス GcpComputeAuthenticationOptions.GcpComputeAuthenticationOptionsBuilder
java.lang.ObjectSE
org.springframework.vault.authentication.GcpComputeAuthenticationOptions.GcpComputeAuthenticationOptionsBuilder
- 含まれているクラス:
- GcpComputeAuthenticationOptions
public static class GcpComputeAuthenticationOptions.GcpComputeAuthenticationOptionsBuilder
extends ObjectSE
方法の概要
修飾子と型メソッド説明build()新しいGcpComputeAuthenticationOptionsインスタンスを作成します。マウントパスを設定します。デフォルトは aws です。ログインが試行されているロールの名前を構成します。serviceAccount(StringSE serviceAccount) サービスアカウント識別子を構成します。
メソッドの詳細
path
マウントパスを設定します。デフォルトは aws です。- パラメーター:
path- 空または null であってはなりません。- 戻り値:
- このビルダー。
serviceAccount
public GcpComputeAuthenticationOptions.GcpComputeAuthenticationOptionsBuilder serviceAccount(StringSE serviceAccount) サービスアカウント識別子を構成します。未構成のままにしておくと、defaultサービスアカウントを使用します。- パラメーター:
serviceAccount- 空または null であってはなりません。- 戻り値:
- このビルダー。
role
ログインが試行されているロールの名前を構成します。- パラメーター:
role- 空または null であってはなりません。- 戻り値:
- このビルダー。
build
新しいGcpComputeAuthenticationOptionsインスタンスを作成します。- 戻り値:
- 新しい
GcpComputeAuthenticationOptions。