Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.okta.AppUserBaseSchemaPropertyArgs Maven / Gradle / Ivy
// *** 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;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class AppUserBaseSchemaPropertyArgs extends com.pulumi.resources.ResourceArgs {
public static final AppUserBaseSchemaPropertyArgs Empty = new AppUserBaseSchemaPropertyArgs();
/**
* The Application's ID the user schema property should be assigned to.
*
*/
@Import(name="appId", required=true)
private Output appId;
/**
* @return The Application's ID the user schema property should be assigned to.
*
*/
public Output appId() {
return this.appId;
}
/**
* Subschema unique string identifier
*
*/
@Import(name="index", required=true)
private Output index;
/**
* @return Subschema unique string identifier
*
*/
public Output index() {
return this.index;
}
/**
* Master priority for the user schema property. It can be set to `PROFILE_MASTER` or `OKTA`. Default: `PROFILE_MASTER`
*
*/
@Import(name="master")
private @Nullable Output master;
/**
* @return Master priority for the user schema property. It can be set to `PROFILE_MASTER` or `OKTA`. Default: `PROFILE_MASTER`
*
*/
public Optional> master() {
return Optional.ofNullable(this.master);
}
/**
* The validation pattern to use for the subschema. Must be in form of '.+', or '[\n\n]+' if present.'
*
*/
@Import(name="pattern")
private @Nullable Output pattern;
/**
* @return The validation pattern to use for the subschema. Must be in form of '.+', or '[\n\n]+' if present.'
*
*/
public Optional> pattern() {
return Optional.ofNullable(this.pattern);
}
/**
* Access control permissions for the property. It can be set to `READ_WRITE`, `READ_ONLY`, `HIDE`. Default: `READ_ONLY`
*
*/
@Import(name="permissions")
private @Nullable Output permissions;
/**
* @return Access control permissions for the property. It can be set to `READ_WRITE`, `READ_ONLY`, `HIDE`. Default: `READ_ONLY`
*
*/
public Optional> permissions() {
return Optional.ofNullable(this.permissions);
}
/**
* Whether the subschema is required
*
*/
@Import(name="required")
private @Nullable Output required;
/**
* @return Whether the subschema is required
*
*/
public Optional> required() {
return Optional.ofNullable(this.required);
}
/**
* Subschema title (display name)
*
*/
@Import(name="title", required=true)
private Output title;
/**
* @return Subschema title (display name)
*
*/
public Output title() {
return this.title;
}
/**
* The type of the schema property. It can be `string`, `boolean`, `number`, `integer`, `array`, or `object`
*
*/
@Import(name="type", required=true)
private Output type;
/**
* @return The type of the schema property. It can be `string`, `boolean`, `number`, `integer`, `array`, or `object`
*
*/
public Output type() {
return this.type;
}
/**
* User type ID. By default, it is `default`
*
*/
@Import(name="userType")
private @Nullable Output userType;
/**
* @return User type ID. By default, it is `default`
*
*/
public Optional> userType() {
return Optional.ofNullable(this.userType);
}
private AppUserBaseSchemaPropertyArgs() {}
private AppUserBaseSchemaPropertyArgs(AppUserBaseSchemaPropertyArgs $) {
this.appId = $.appId;
this.index = $.index;
this.master = $.master;
this.pattern = $.pattern;
this.permissions = $.permissions;
this.required = $.required;
this.title = $.title;
this.type = $.type;
this.userType = $.userType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AppUserBaseSchemaPropertyArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private AppUserBaseSchemaPropertyArgs $;
public Builder() {
$ = new AppUserBaseSchemaPropertyArgs();
}
public Builder(AppUserBaseSchemaPropertyArgs defaults) {
$ = new AppUserBaseSchemaPropertyArgs(Objects.requireNonNull(defaults));
}
/**
* @param appId The Application's ID the user schema property should be assigned to.
*
* @return builder
*
*/
public Builder appId(Output appId) {
$.appId = appId;
return this;
}
/**
* @param appId The Application's ID the user schema property should be assigned to.
*
* @return builder
*
*/
public Builder appId(String appId) {
return appId(Output.of(appId));
}
/**
* @param index Subschema unique string identifier
*
* @return builder
*
*/
public Builder index(Output index) {
$.index = index;
return this;
}
/**
* @param index Subschema unique string identifier
*
* @return builder
*
*/
public Builder index(String index) {
return index(Output.of(index));
}
/**
* @param master Master priority for the user schema property. It can be set to `PROFILE_MASTER` or `OKTA`. Default: `PROFILE_MASTER`
*
* @return builder
*
*/
public Builder master(@Nullable Output master) {
$.master = master;
return this;
}
/**
* @param master Master priority for the user schema property. It can be set to `PROFILE_MASTER` or `OKTA`. Default: `PROFILE_MASTER`
*
* @return builder
*
*/
public Builder master(String master) {
return master(Output.of(master));
}
/**
* @param pattern The validation pattern to use for the subschema. Must be in form of '.+', or '[\n\n]+' if present.'
*
* @return builder
*
*/
public Builder pattern(@Nullable Output pattern) {
$.pattern = pattern;
return this;
}
/**
* @param pattern The validation pattern to use for the subschema. Must be in form of '.+', or '[\n\n]+' if present.'
*
* @return builder
*
*/
public Builder pattern(String pattern) {
return pattern(Output.of(pattern));
}
/**
* @param permissions Access control permissions for the property. It can be set to `READ_WRITE`, `READ_ONLY`, `HIDE`. Default: `READ_ONLY`
*
* @return builder
*
*/
public Builder permissions(@Nullable Output permissions) {
$.permissions = permissions;
return this;
}
/**
* @param permissions Access control permissions for the property. It can be set to `READ_WRITE`, `READ_ONLY`, `HIDE`. Default: `READ_ONLY`
*
* @return builder
*
*/
public Builder permissions(String permissions) {
return permissions(Output.of(permissions));
}
/**
* @param required Whether the subschema is required
*
* @return builder
*
*/
public Builder required(@Nullable Output required) {
$.required = required;
return this;
}
/**
* @param required Whether the subschema is required
*
* @return builder
*
*/
public Builder required(Boolean required) {
return required(Output.of(required));
}
/**
* @param title Subschema title (display name)
*
* @return builder
*
*/
public Builder title(Output title) {
$.title = title;
return this;
}
/**
* @param title Subschema title (display name)
*
* @return builder
*
*/
public Builder title(String title) {
return title(Output.of(title));
}
/**
* @param type The type of the schema property. It can be `string`, `boolean`, `number`, `integer`, `array`, or `object`
*
* @return builder
*
*/
public Builder type(Output type) {
$.type = type;
return this;
}
/**
* @param type The type of the schema property. It can be `string`, `boolean`, `number`, `integer`, `array`, or `object`
*
* @return builder
*
*/
public Builder type(String type) {
return type(Output.of(type));
}
/**
* @param userType User type ID. By default, it is `default`
*
* @return builder
*
*/
public Builder userType(@Nullable Output userType) {
$.userType = userType;
return this;
}
/**
* @param userType User type ID. By default, it is `default`
*
* @return builder
*
*/
public Builder userType(String userType) {
return userType(Output.of(userType));
}
public AppUserBaseSchemaPropertyArgs build() {
if ($.appId == null) {
throw new MissingRequiredPropertyException("AppUserBaseSchemaPropertyArgs", "appId");
}
if ($.index == null) {
throw new MissingRequiredPropertyException("AppUserBaseSchemaPropertyArgs", "index");
}
if ($.title == null) {
throw new MissingRequiredPropertyException("AppUserBaseSchemaPropertyArgs", "title");
}
if ($.type == null) {
throw new MissingRequiredPropertyException("AppUserBaseSchemaPropertyArgs", "type");
}
return $;
}
}
}