
com.pulumi.azurenative.customerinsights.outputs.ProfileEnumValidValuesFormatResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.customerinsights.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ProfileEnumValidValuesFormatResponse {
/**
* @return Localized names of the enum member.
*
*/
private @Nullable Map localizedValueNames;
/**
* @return The integer value of the enum member.
*
*/
private @Nullable Integer value;
private ProfileEnumValidValuesFormatResponse() {}
/**
* @return Localized names of the enum member.
*
*/
public Map localizedValueNames() {
return this.localizedValueNames == null ? Map.of() : this.localizedValueNames;
}
/**
* @return The integer value of the enum member.
*
*/
public Optional value() {
return Optional.ofNullable(this.value);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ProfileEnumValidValuesFormatResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Map localizedValueNames;
private @Nullable Integer value;
public Builder() {}
public Builder(ProfileEnumValidValuesFormatResponse defaults) {
Objects.requireNonNull(defaults);
this.localizedValueNames = defaults.localizedValueNames;
this.value = defaults.value;
}
@CustomType.Setter
public Builder localizedValueNames(@Nullable Map localizedValueNames) {
this.localizedValueNames = localizedValueNames;
return this;
}
@CustomType.Setter
public Builder value(@Nullable Integer value) {
this.value = value;
return this;
}
public ProfileEnumValidValuesFormatResponse build() {
final var _resultValue = new ProfileEnumValidValuesFormatResponse();
_resultValue.localizedValueNames = localizedValueNames;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy