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 Summary
Constructors -
Method Summary
Modifier 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.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
security
Required - Settings for the index used for most security configuration, including native realm users and roles configured with the API.API name:
security
-
security
public 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
-
securityProfile
Required - Settings for the index used to store profile information.API name:
security-profile
-
securityProfile
public final GetSecuritySettingsResponse.Builder securityProfile(Function<SecuritySettings.Builder, ObjectBuilder<SecuritySettings>> fn) Required - Settings for the index used to store profile information.API name:
security-profile
-
securityTokens
Required - Settings for the index used to store tokens.API name:
security-tokens
-
securityTokens
public 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:
self
in classWithJsonObjectBuilderBase<GetSecuritySettingsResponse.Builder>
-
build
Builds aGetSecuritySettingsResponse
.- Specified by:
build
in interfaceObjectBuilder<GetSecuritySettingsResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-