com.pulumi.okta.app.outputs.OAuthGroupsClaim 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.app.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class OAuthGroupsClaim {
/**
* @return Groups claim filter. Can only be set if type is FILTER.
*
*/
private @Nullable String filterType;
/**
* @return Issuer mode inherited from OAuth App
*
*/
private @Nullable String issuerMode;
/**
* @return Name of the claim that will be used in the token.
*
*/
private String name;
/**
* @return Groups claim type.
*
*/
private String type;
/**
* @return Value of the claim. Can be an Okta Expression Language statement that evaluates at the time the token is minted.
*
*/
private String value;
private OAuthGroupsClaim() {}
/**
* @return Groups claim filter. Can only be set if type is FILTER.
*
*/
public Optional filterType() {
return Optional.ofNullable(this.filterType);
}
/**
* @return Issuer mode inherited from OAuth App
*
*/
public Optional issuerMode() {
return Optional.ofNullable(this.issuerMode);
}
/**
* @return Name of the claim that will be used in the token.
*
*/
public String name() {
return this.name;
}
/**
* @return Groups claim type.
*
*/
public String type() {
return this.type;
}
/**
* @return Value of the claim. Can be an Okta Expression Language statement that evaluates at the time the token is minted.
*
*/
public String value() {
return this.value;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OAuthGroupsClaim defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String filterType;
private @Nullable String issuerMode;
private String name;
private String type;
private String value;
public Builder() {}
public Builder(OAuthGroupsClaim defaults) {
Objects.requireNonNull(defaults);
this.filterType = defaults.filterType;
this.issuerMode = defaults.issuerMode;
this.name = defaults.name;
this.type = defaults.type;
this.value = defaults.value;
}
@CustomType.Setter
public Builder filterType(@Nullable String filterType) {
this.filterType = filterType;
return this;
}
@CustomType.Setter
public Builder issuerMode(@Nullable String issuerMode) {
this.issuerMode = issuerMode;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("OAuthGroupsClaim", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("OAuthGroupsClaim", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder value(String value) {
if (value == null) {
throw new MissingRequiredPropertyException("OAuthGroupsClaim", "value");
}
this.value = value;
return this;
}
public OAuthGroupsClaim build() {
final var _resultValue = new OAuthGroupsClaim();
_resultValue.filterType = filterType;
_resultValue.issuerMode = issuerMode;
_resultValue.name = name;
_resultValue.type = type;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy