* All of operator, key and value are required. This is equivalent to {@code IamCondition.builder().operator(operator) * .key(key).value(value).build()}. */ static IamCondition create(IamConditionOperator operator, IamConditionKey key, String value) { return builder().operator(operator).key(key).value(value).build(); } /** * Create an {@link IamCondition} of the supplied operator, key and value (see * {@link Builder#operator(IamConditionOperator)}}, {@link Builder#key(String)} and {@link Builder#value(String)}). *
* All of operator, key and value are required. This is equivalent to {@code IamCondition.builder().operator(operator) * .key(key).value(value).build()}. */ static IamCondition create(IamConditionOperator operator, String key, String value) { return builder().operator(operator).key(key).value(value).build(); } /** * Create an {@link IamCondition} of the supplied operator, key and value (see * {@link Builder#operator(String)}}, {@link Builder#key(String)} and {@link Builder#value(String)}). *
* All of operator, key and value are required. This is equivalent to {@code IamCondition.builder().operator(operator) * .key(key).value(value).build()}. */ static IamCondition create(String operator, String key, String value) { return builder().operator(operator).key(key).value(value).build(); } /** * Create multiple {@link IamCondition}s with the same {@link IamConditionOperator} and {@link IamConditionKey}, but * different values (see {@link Builder#operator(IamConditionOperator)}}, {@link Builder#key(IamConditionKey)} and * {@link Builder#value(String)}). *
* Operator and key are required, and the values in the value list must not be null. This is equivalent to calling
* {@link #create(IamConditionOperator, IamConditionKey, String)} multiple times and collecting the results into a list.
*/
static List
* Operator and key are required, and the values in the value list must not be null. This is equivalent to calling
* {@link #create(IamConditionOperator, String, String)} multiple times and collecting the results into a list.
*/
static List
* Operator and key are required, and the values in the value list must not be null. This is equivalent to calling
* {@link #create(String, String, String)} multiple times and collecting the results into a list.
*/
static List
* This value is required.
*
* @see IamConditionOperator
* @see Condition
* user guide
*/
Builder operator(IamConditionOperator operator);
/**
* Set the {@link IamConditionOperator} of this condition.
*
* This is the same as {@link #operator(IamConditionOperator)}, except you do not need to call
* {@code IamConditionOperator.create()}. This value is required.
*
* @see IamConditionOperator
* @see Condition
* user guide
*/
Builder operator(String operator);
/**
* Set the {@link IamConditionKey} of this condition.
*
* This value is required.
*
* @see IamConditionKey
* @see Condition
* user guide
*/
Builder key(IamConditionKey key);
/**
* Set the {@link IamConditionKey} of this condition.
*
* This is the same as {@link #key(IamConditionKey)}, except you do not need to call
* {@code IamConditionKey.create()}. This value is required.
*
* @see IamConditionKey
* @see Condition
* user guide
*/
Builder key(String key);
/**
* Set the "right hand side" value of this condition.
*
* @see Condition
* user guide
*/
Builder value(String value);
}
}