com.pulumi.ise.networkaccess.outputs.AuthorizationGlobalExceptionRuleChildren Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ise Show documentation
Show all versions of ise Show documentation
A Pulumi package for managing resources on a Cisco ISE (Identity Service Engine) instance.
// *** 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.ise.networkaccess.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.ise.networkaccess.outputs.AuthorizationGlobalExceptionRuleChildrenChildren;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AuthorizationGlobalExceptionRuleChildren {
/**
* @return Dictionary attribute name
*
*/
private @Nullable String attributeName;
/**
* @return Attribute value for condition. Value type is specified in dictionary object.
*
*/
private @Nullable String attributeValue;
/**
* @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
*
*/
private @Nullable List childrens;
/**
* @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
* - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference`
*
*/
private String conditionType;
/**
* @return Dictionary name
*
*/
private @Nullable String dictionaryName;
/**
* @return Dictionary value
*
*/
private @Nullable String dictionaryValue;
/**
* @return UUID for condition
*
*/
private @Nullable String id;
/**
* @return Indicates whereas this condition is in negate mode
*
*/
private @Nullable Boolean isNegate;
/**
* @return Equality operator
* - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`
*
*/
private @Nullable String operator;
private AuthorizationGlobalExceptionRuleChildren() {}
/**
* @return Dictionary attribute name
*
*/
public Optional attributeName() {
return Optional.ofNullable(this.attributeName);
}
/**
* @return Attribute value for condition. Value type is specified in dictionary object.
*
*/
public Optional attributeValue() {
return Optional.ofNullable(this.attributeValue);
}
/**
* @return List of child conditions. `condition_type` must be one of `ConditionAndBlock` or `ConditionOrBlock`.
*
*/
public List childrens() {
return this.childrens == null ? List.of() : this.childrens;
}
/**
* @return Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
* - Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference`
*
*/
public String conditionType() {
return this.conditionType;
}
/**
* @return Dictionary name
*
*/
public Optional dictionaryName() {
return Optional.ofNullable(this.dictionaryName);
}
/**
* @return Dictionary value
*
*/
public Optional dictionaryValue() {
return Optional.ofNullable(this.dictionaryValue);
}
/**
* @return UUID for condition
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return Indicates whereas this condition is in negate mode
*
*/
public Optional isNegate() {
return Optional.ofNullable(this.isNegate);
}
/**
* @return Equality operator
* - Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`
*
*/
public Optional operator() {
return Optional.ofNullable(this.operator);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AuthorizationGlobalExceptionRuleChildren defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String attributeName;
private @Nullable String attributeValue;
private @Nullable List childrens;
private String conditionType;
private @Nullable String dictionaryName;
private @Nullable String dictionaryValue;
private @Nullable String id;
private @Nullable Boolean isNegate;
private @Nullable String operator;
public Builder() {}
public Builder(AuthorizationGlobalExceptionRuleChildren defaults) {
Objects.requireNonNull(defaults);
this.attributeName = defaults.attributeName;
this.attributeValue = defaults.attributeValue;
this.childrens = defaults.childrens;
this.conditionType = defaults.conditionType;
this.dictionaryName = defaults.dictionaryName;
this.dictionaryValue = defaults.dictionaryValue;
this.id = defaults.id;
this.isNegate = defaults.isNegate;
this.operator = defaults.operator;
}
@CustomType.Setter
public Builder attributeName(@Nullable String attributeName) {
this.attributeName = attributeName;
return this;
}
@CustomType.Setter
public Builder attributeValue(@Nullable String attributeValue) {
this.attributeValue = attributeValue;
return this;
}
@CustomType.Setter
public Builder childrens(@Nullable List childrens) {
this.childrens = childrens;
return this;
}
public Builder childrens(AuthorizationGlobalExceptionRuleChildrenChildren... childrens) {
return childrens(List.of(childrens));
}
@CustomType.Setter
public Builder conditionType(String conditionType) {
if (conditionType == null) {
throw new MissingRequiredPropertyException("AuthorizationGlobalExceptionRuleChildren", "conditionType");
}
this.conditionType = conditionType;
return this;
}
@CustomType.Setter
public Builder dictionaryName(@Nullable String dictionaryName) {
this.dictionaryName = dictionaryName;
return this;
}
@CustomType.Setter
public Builder dictionaryValue(@Nullable String dictionaryValue) {
this.dictionaryValue = dictionaryValue;
return this;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder isNegate(@Nullable Boolean isNegate) {
this.isNegate = isNegate;
return this;
}
@CustomType.Setter
public Builder operator(@Nullable String operator) {
this.operator = operator;
return this;
}
public AuthorizationGlobalExceptionRuleChildren build() {
final var _resultValue = new AuthorizationGlobalExceptionRuleChildren();
_resultValue.attributeName = attributeName;
_resultValue.attributeValue = attributeValue;
_resultValue.childrens = childrens;
_resultValue.conditionType = conditionType;
_resultValue.dictionaryName = dictionaryName;
_resultValue.dictionaryValue = dictionaryValue;
_resultValue.id = id;
_resultValue.isNegate = isNegate;
_resultValue.operator = operator;
return _resultValue;
}
}
}