public final class DefaultIamConditionOperator extends Object implements IamConditionOperator
IamConditionOperator.ARN_EQUALS, ARN_LIKE, ARN_NOT_EQUALS, ARN_NOT_LIKE, BINARY_EQUALS, BOOL, DATE_EQUALS, DATE_GREATER_THAN, DATE_GREATER_THAN_EQUALS, DATE_LESS_THAN, DATE_LESS_THAN_EQUALS, DATE_NOT_EQUALS, IP_ADDRESS, NOT_IP_ADDRESS, NULL, NUMERIC_EQUALS, NUMERIC_GREATER_THAN, NUMERIC_GREATER_THAN_EQUALS, NUMERIC_LESS_THAN, NUMERIC_LESS_THAN_EQUALS, NUMERIC_NOT_EQUALS, STRING_EQUALS, STRING_EQUALS_IGNORE_CASE, STRING_LIKE, STRING_NOT_EQUALS, STRING_NOT_EQUALS_IGNORE_CASE, STRING_NOT_LIKE| Constructor and Description |
|---|
DefaultIamConditionOperator(String value) |
| Modifier and Type | Method and Description |
|---|---|
IamConditionOperator |
addPrefix(String prefix)
Create a new
IamConditionOperator with the provided string added as a prefix. |
IamConditionOperator |
addSuffix(String suffix)
Create a new
IamConditionOperator with the provided string added as a suffix. |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
String |
value()
Retrieve the string that should represent this element in the serialized IAM policy when it is marshalled via
IamPolicyWriter. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcreatepublic DefaultIamConditionOperator(String value)
public IamConditionOperator addPrefix(String prefix)
IamConditionOperatorIamConditionOperator with the provided string added as a prefix.
This is useful when adding the "ForAllValues:" or "ForAnyValues:" prefixes to an operator.
addPrefix in interface IamConditionOperatorpublic IamConditionOperator addSuffix(String suffix)
IamConditionOperatorIamConditionOperator with the provided string added as a suffix.
This is useful when adding the "IfExists" suffix to an operator.
addSuffix in interface IamConditionOperatorpublic String value()
IamValueIamPolicyWriter.Copyright © 2023. All rights reserved.