com.pulumi.keycloak.outputs.GetRealmInternationalization Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of keycloak Show documentation
Show all versions of keycloak Show documentation
A Pulumi package for creating and managing keycloak cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.keycloak.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetRealmInternationalization {
private String defaultLocale;
private List supportedLocales;
private GetRealmInternationalization() {}
public String defaultLocale() {
return this.defaultLocale;
}
public List supportedLocales() {
return this.supportedLocales;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetRealmInternationalization defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String defaultLocale;
private List supportedLocales;
public Builder() {}
public Builder(GetRealmInternationalization defaults) {
Objects.requireNonNull(defaults);
this.defaultLocale = defaults.defaultLocale;
this.supportedLocales = defaults.supportedLocales;
}
@CustomType.Setter
public Builder defaultLocale(String defaultLocale) {
if (defaultLocale == null) {
throw new MissingRequiredPropertyException("GetRealmInternationalization", "defaultLocale");
}
this.defaultLocale = defaultLocale;
return this;
}
@CustomType.Setter
public Builder supportedLocales(List supportedLocales) {
if (supportedLocales == null) {
throw new MissingRequiredPropertyException("GetRealmInternationalization", "supportedLocales");
}
this.supportedLocales = supportedLocales;
return this;
}
public Builder supportedLocales(String... supportedLocales) {
return supportedLocales(List.of(supportedLocales));
}
public GetRealmInternationalization build() {
final var _resultValue = new GetRealmInternationalization();
_resultValue.defaultLocale = defaultLocale;
_resultValue.supportedLocales = supportedLocales;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy