public static class AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder extends Object
AppRoleAuthenticationOptions
.public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder path(String path)
path
- must not be empty or null.this
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder
.AppRoleAuthenticationOptions.DEFAULT_APPROLE_AUTHENTICATION_PATH
public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder roleId(AppRoleAuthenticationOptions.RoleId roleId)
roleId
- must not be empty or null.this
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder
.@Deprecated public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder roleId(String roleId)
roleId(AppRoleAuthenticationOptions.RoleId)
.roleId
- must not be empty or null.this
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder
.public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder secretId(AppRoleAuthenticationOptions.SecretId secretId)
secretId
.secretId
- must not be empty or null.this
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder
.@Deprecated public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder secretId(String secretId)
secretId(AppRoleAuthenticationOptions.SecretId)
.secretId
.secretId
- must not be empty or null.this
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder
.public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder appRole(String appRole)
appRole
.appRole
- must not be empty or null.this
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder
.public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder unwrappingEndpoints(UnwrappingEndpoints endpoints)
UnwrappingEndpoints
to use.endpoints
- must not be null.this
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder
@Deprecated public AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder initialToken(VaultToken initialToken)
roleId(AppRoleAuthenticationOptions.RoleId)
/secretId(AppRoleAuthenticationOptions.SecretId)
to configure pull mode.initialToken
.initialToken
- must not be empty or null.this
AppRoleAuthenticationOptions.AppRoleAuthenticationOptionsBuilder
.public AppRoleAuthenticationOptions build()
AppRoleAuthenticationOptions
instance. Requires
roleId(String)
for push mode or appRole(String)
and
initialToken(VaultToken)
for pull mode to be configured.AppRoleAuthenticationOptions
.Copyright © 2016–2021 Pivotal Software, Inc.. All rights reserved.