com.pulumi.okta.outputs.GroupSchemaPropertyOneOf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of okta Show documentation
Show all versions of okta Show documentation
A Pulumi package for creating and managing okta 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.okta.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GroupSchemaPropertyOneOf {
/**
* @return Enum value
*
*/
private String const_;
/**
* @return Enum title
*
*/
private String title;
private GroupSchemaPropertyOneOf() {}
/**
* @return Enum value
*
*/
public String const_() {
return this.const_;
}
/**
* @return Enum title
*
*/
public String title() {
return this.title;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GroupSchemaPropertyOneOf defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String const_;
private String title;
public Builder() {}
public Builder(GroupSchemaPropertyOneOf defaults) {
Objects.requireNonNull(defaults);
this.const_ = defaults.const_;
this.title = defaults.title;
}
@CustomType.Setter("const")
public Builder const_(String const_) {
if (const_ == null) {
throw new MissingRequiredPropertyException("GroupSchemaPropertyOneOf", "const_");
}
this.const_ = const_;
return this;
}
@CustomType.Setter
public Builder title(String title) {
if (title == null) {
throw new MissingRequiredPropertyException("GroupSchemaPropertyOneOf", "title");
}
this.title = title;
return this;
}
public GroupSchemaPropertyOneOf build() {
final var _resultValue = new GroupSchemaPropertyOneOf();
_resultValue.const_ = const_;
_resultValue.title = title;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy