クラス AwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder
java.lang.ObjectSE
org.springframework.vault.authentication.AwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder
- 含まれているクラス:
- AwsEc2AuthenticationOptions
方法の概要
修飾子と型メソッド説明build()新しいAwsEc2AuthenticationOptionsインスタンスを作成します。identityDocumentUri(URISE identityDocumentUri) ID ドキュメントURISE を構成します。ログインリクエスト用にAwsEc2AuthenticationOptions.Nonceを構成します。マウントパスを構成します。ログインが試行されているロールの名前を構成します。ロールが指定されていない場合、ログインエンドポイントは、ログインしようとしている EC2 インスタンスの AMI ID の名前を持つロールを探します。
方法の詳細
path
マウントパスを構成します。- パラメーター:
path- 空または null であってはなりません。- 戻り値:
thisAwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder。
identityDocumentUri
public AwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder identityDocumentUri(URISE identityDocumentUri) ID ドキュメントURISE を構成します。- パラメーター:
identityDocumentUri- null であってはなりません。- 戻り値:
thisAwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder。- 関連事項:
role
ログインが試行されているロールの名前を構成します。ロールが指定されていない場合、ログインエンドポイントは、ログインしようとしている EC2 インスタンスの AMI ID の名前を持つロールを探します。- パラメーター:
role- 空または null の場合があります。- 戻り値:
thisAwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder。
nonce
public AwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder nonce(AwsEc2AuthenticationOptions.Nonce nonce) ログインリクエスト用にAwsEc2AuthenticationOptions.Nonceを構成します。デフォルトはAwsEc2AuthenticationOptions.Nonce.generated()です。- パラメーター:
nonce- null であってはなりません。- 戻り値:
thisAwsEc2AuthenticationOptions.AwsEc2AuthenticationOptionsBuilder。- 導入:
- 1.1
build
新しいAwsEc2AuthenticationOptionsインスタンスを作成します。- 戻り値:
- 新しい
AwsEc2AuthenticationOptions。