Class Security.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.xpack.usage.Base.AbstractBuilder<Security.Builder>
co.elastic.clients.elasticsearch.xpack.usage.Security.Builder
- All Implemented Interfaces:
ObjectBuilder<Security>
- Enclosing class:
- Security
public static class Security.Builder extends Base.AbstractBuilder<Security.Builder> implements ObjectBuilder<Security>
Builder for
Security.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description Security.Builderanonymous(FeatureToggle value)Required - API name:anonymousSecurity.Builderanonymous(java.util.function.Function<FeatureToggle.Builder,ObjectBuilder<FeatureToggle>> fn)Required - API name:anonymousSecurity.BuilderapiKeyService(FeatureToggle value)Required - API name:api_key_serviceSecurity.BuilderapiKeyService(java.util.function.Function<FeatureToggle.Builder,ObjectBuilder<FeatureToggle>> fn)Required - API name:api_key_serviceSecurity.Builderaudit(Audit value)Required - API name:auditSecurity.Builderaudit(java.util.function.Function<Audit.Builder,ObjectBuilder<Audit>> fn)Required - API name:auditSecuritybuild()Builds aSecurity.Security.Builderfips140(FeatureToggle value)Required - API name:fips_140Security.Builderfips140(java.util.function.Function<FeatureToggle.Builder,ObjectBuilder<FeatureToggle>> fn)Required - API name:fips_140Security.Builderipfilter(IpFilter value)Required - API name:ipfilterSecurity.Builderipfilter(java.util.function.Function<IpFilter.Builder,ObjectBuilder<IpFilter>> fn)Required - API name:ipfilterSecurity.BuilderoperatorPrivileges(Base value)Required - API name:operator_privilegesSecurity.BuilderoperatorPrivileges(java.util.function.Function<Base.Builder,ObjectBuilder<Base>> fn)Required - API name:operator_privilegesSecurity.Builderrealms(java.lang.String key, Realm value)Required - API name:realmsSecurity.Builderrealms(java.lang.String key, java.util.function.Function<Realm.Builder,ObjectBuilder<Realm>> fn)Required - API name:realmsSecurity.Builderrealms(java.util.Map<java.lang.String,Realm> map)Required - API name:realmsSecurity.BuilderroleMapping(java.lang.String key, RoleMapping value)Required - API name:role_mappingSecurity.BuilderroleMapping(java.lang.String key, java.util.function.Function<RoleMapping.Builder,ObjectBuilder<RoleMapping>> fn)Required - API name:role_mappingSecurity.BuilderroleMapping(java.util.Map<java.lang.String,RoleMapping> map)Required - API name:role_mappingSecurity.Builderroles(SecurityRoles value)Required - API name:rolesSecurity.Builderroles(java.util.function.Function<SecurityRoles.Builder,ObjectBuilder<SecurityRoles>> fn)Required - API name:rolesprotected Security.Builderself()Security.Builderssl(Ssl value)Required - API name:sslSecurity.Builderssl(java.util.function.Function<Ssl.Builder,ObjectBuilder<Ssl>> fn)Required - API name:sslSecurity.BuildersystemKey(FeatureToggle value)API name:system_keySecurity.BuildersystemKey(java.util.function.Function<FeatureToggle.Builder,ObjectBuilder<FeatureToggle>> fn)API name:system_keySecurity.BuildertokenService(FeatureToggle value)Required - API name:token_serviceSecurity.BuildertokenService(java.util.function.Function<FeatureToggle.Builder,ObjectBuilder<FeatureToggle>> fn)Required - API name:token_serviceMethods inherited from class co.elastic.clients.elasticsearch.xpack.usage.Base.AbstractBuilder
available, enabledMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiKeyService
Required - API name:api_key_service -
apiKeyService
public final Security.Builder apiKeyService(java.util.function.Function<FeatureToggle.Builder,ObjectBuilder<FeatureToggle>> fn)Required - API name:api_key_service -
anonymous
Required - API name:anonymous -
anonymous
public final Security.Builder anonymous(java.util.function.Function<FeatureToggle.Builder,ObjectBuilder<FeatureToggle>> fn)Required - API name:anonymous -
audit
Required - API name:audit -
audit
public final Security.Builder audit(java.util.function.Function<Audit.Builder,ObjectBuilder<Audit>> fn)Required - API name:audit -
fips140
Required - API name:fips_140 -
fips140
public final Security.Builder fips140(java.util.function.Function<FeatureToggle.Builder,ObjectBuilder<FeatureToggle>> fn)Required - API name:fips_140 -
ipfilter
Required - API name:ipfilter -
ipfilter
public final Security.Builder ipfilter(java.util.function.Function<IpFilter.Builder,ObjectBuilder<IpFilter>> fn)Required - API name:ipfilter -
realms
Required - API name:realmsAdds all entries of
maptorealms. -
realms
Required - API name:realmsAdds an entry to
realms. -
realms
public final Security.Builder realms(java.lang.String key, java.util.function.Function<Realm.Builder,ObjectBuilder<Realm>> fn)Required - API name:realmsAdds an entry to
realmsusing a builder lambda. -
roleMapping
Required - API name:role_mappingAdds all entries of
maptoroleMapping. -
roleMapping
Required - API name:role_mappingAdds an entry to
roleMapping. -
roleMapping
public final Security.Builder roleMapping(java.lang.String key, java.util.function.Function<RoleMapping.Builder,ObjectBuilder<RoleMapping>> fn)Required - API name:role_mappingAdds an entry to
roleMappingusing a builder lambda. -
roles
Required - API name:roles -
roles
public final Security.Builder roles(java.util.function.Function<SecurityRoles.Builder,ObjectBuilder<SecurityRoles>> fn)Required - API name:roles -
ssl
Required - API name:ssl -
ssl
Required - API name:ssl -
systemKey
API name:system_key -
systemKey
public final Security.Builder systemKey(java.util.function.Function<FeatureToggle.Builder,ObjectBuilder<FeatureToggle>> fn)API name:system_key -
tokenService
Required - API name:token_service -
tokenService
public final Security.Builder tokenService(java.util.function.Function<FeatureToggle.Builder,ObjectBuilder<FeatureToggle>> fn)Required - API name:token_service -
operatorPrivileges
Required - API name:operator_privileges -
operatorPrivileges
public final Security.Builder operatorPrivileges(java.util.function.Function<Base.Builder,ObjectBuilder<Base>> fn)Required - API name:operator_privileges -
self
- Specified by:
selfin classBase.AbstractBuilder<Security.Builder>
-
build
Builds aSecurity.- Specified by:
buildin interfaceObjectBuilder<Security>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-