Class GetSecuritySettingsResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<GetSecuritySettingsResponse.Builder>
co.elastic.clients.elasticsearch.security.GetSecuritySettingsResponse.Builder
- All Implemented Interfaces:
- WithJson<GetSecuritySettingsResponse.Builder>,- ObjectBuilder<GetSecuritySettingsResponse>
- Enclosing class:
- GetSecuritySettingsResponse
public static class GetSecuritySettingsResponse.Builder
extends WithJsonObjectBuilderBase<GetSecuritySettingsResponse.Builder>
implements ObjectBuilder<GetSecuritySettingsResponse>
Builder for 
GetSecuritySettingsResponse.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aGetSecuritySettingsResponse.security(SecuritySettings value) Required - Settings for the index used for most security configuration, including native realm users and roles configured with the API.Required - Settings for the index used for most security configuration, including native realm users and roles configured with the API.securityProfile(SecuritySettings value) Required - Settings for the index used to store profile information.Required - Settings for the index used to store profile information.securityTokens(SecuritySettings value) Required - Settings for the index used to store tokens.Required - Settings for the index used to store tokens.protected GetSecuritySettingsResponse.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
securityRequired - Settings for the index used for most security configuration, including native realm users and roles configured with the API.API name: security
- 
securitypublic final GetSecuritySettingsResponse.Builder security(Function<SecuritySettings.Builder, ObjectBuilder<SecuritySettings>> fn) Required - Settings for the index used for most security configuration, including native realm users and roles configured with the API.API name: security
- 
securityProfileRequired - Settings for the index used to store profile information.API name: security-profile
- 
securityProfilepublic final GetSecuritySettingsResponse.Builder securityProfile(Function<SecuritySettings.Builder, ObjectBuilder<SecuritySettings>> fn) Required - Settings for the index used to store profile information.API name: security-profile
- 
securityTokensRequired - Settings for the index used to store tokens.API name: security-tokens
- 
securityTokenspublic final GetSecuritySettingsResponse.Builder securityTokens(Function<SecuritySettings.Builder, ObjectBuilder<SecuritySettings>> fn) Required - Settings for the index used to store tokens.API name: security-tokens
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<GetSecuritySettingsResponse.Builder>
 
- 
buildBuilds aGetSecuritySettingsResponse.- Specified by:
- buildin interface- ObjectBuilder<GetSecuritySettingsResponse>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-