Class PostDashboardsInfoResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.security.PostDashboardsInfoResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<PostDashboardsInfoResponse.Builder,,PostDashboardsInfoResponse> MutableBuilder<PostDashboardsInfoResponse.Builder,,PostDashboardsInfoResponse> ObjectBuilder<PostDashboardsInfoResponse>
- Enclosing class:
PostDashboardsInfoResponse
public static class PostDashboardsInfoResponse.Builder
extends ObjectBuilderBase
implements CopyableBuilder<PostDashboardsInfoResponse.Builder,PostDashboardsInfoResponse>
Builder for
PostDashboardsInfoResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aPostDashboardsInfoResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.defaultTenant(String value) The default tenant setting for the dashboard.multitenancyEnabled(Boolean value) Indicates whether multi-tenancy is enabled.notFailOnForbiddenEnabled(Boolean value) Indicates whetherDNFOFis enabled.opensearchDashboardsIndex(String value) The name of the dashboard's index.Indicates whether multi-tenancy is enabled.The name of the user used to connect dashboard's to the server.The error message when a password validation fails.passwordValidationRegex(String value) The regular expression used perform password validation.privateTenantEnabled(Boolean value) Indicates whether a private tenant is enabled for all users.signInOptions(String value, String... values) A list of available sign-in options.signInOptions(List<String> list) A list of available sign-in options.User's nameMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<PostDashboardsInfoResponse.Builder,PostDashboardsInfoResponse> - Returns:
- a new builder instance.
-
defaultTenant
The default tenant setting for the dashboard.API name:
default_tenant -
multitenancyEnabled
@Nonnull public final PostDashboardsInfoResponse.Builder multitenancyEnabled(@Nullable Boolean value) Indicates whether multi-tenancy is enabled.API name:
multitenancy_enabled -
notFailOnForbiddenEnabled
@Nonnull public final PostDashboardsInfoResponse.Builder notFailOnForbiddenEnabled(@Nullable Boolean value) Indicates whetherDNFOFis enabled.API name:
not_fail_on_forbidden_enabled -
opensearchDashboardsIndex
@Nonnull public final PostDashboardsInfoResponse.Builder opensearchDashboardsIndex(@Nullable String value) The name of the dashboard's index.API name:
opensearch_dashboards_index -
opensearchDashboardsMtEnabled
@Nonnull public final PostDashboardsInfoResponse.Builder opensearchDashboardsMtEnabled(@Nullable Boolean value) Indicates whether multi-tenancy is enabled.API name:
opensearch_dashboards_mt_enabled -
opensearchDashboardsServerUser
@Nonnull public final PostDashboardsInfoResponse.Builder opensearchDashboardsServerUser(@Nullable String value) The name of the user used to connect dashboard's to the server.API name:
opensearch_dashboards_server_user -
passwordValidationErrorMessage
@Nonnull public final PostDashboardsInfoResponse.Builder passwordValidationErrorMessage(@Nullable String value) The error message when a password validation fails.API name:
password_validation_error_message -
passwordValidationRegex
@Nonnull public final PostDashboardsInfoResponse.Builder passwordValidationRegex(@Nullable String value) The regular expression used perform password validation.API name:
password_validation_regex -
privateTenantEnabled
@Nonnull public final PostDashboardsInfoResponse.Builder privateTenantEnabled(@Nullable Boolean value) Indicates whether a private tenant is enabled for all users.API name:
private_tenant_enabled -
signInOptions
A list of available sign-in options.API name:
sign_in_optionsAdds all elements of
listtosignInOptions. -
signInOptions
@Nonnull public final PostDashboardsInfoResponse.Builder signInOptions(String value, String... values) A list of available sign-in options.API name:
sign_in_optionsAdds one or more values to
signInOptions. -
userName
User's nameAPI name:
user_name -
build
Builds aPostDashboardsInfoResponse.- Specified by:
buildin interfaceObjectBuilder<PostDashboardsInfoResponse>- Throws:
NullPointerException- if some of the required fields are null.
-