ContainerPolicyComplexValue
Represents a complex value for Container policies, allowing logical combinations with other ContainerPolicyComplexValue instances. These complex values enable the creation of fine-grained access control rules by combining multiple policy criteria using logical operators.
Constructors
ContainerPolicyComplexValue
Creates instance of ContainerPolicyComplexValue.
void ContainerPolicyComplexValue(
String value
)
Name | Type | Description |
---|---|---|
value | String | raw policy value |
Methods
AND
Combines this policy with another policy using the logical AND operator.
public ContainerPolicyComplexValue AND(
ContainerPolicyComplexValue policy
)
Name | Type | Description |
---|---|---|
policy | ContainerPolicyComplexValue | the policy to combine with this policy using AND. |
Type | Description |
---|---|
ContainerPolicyComplexValue | A new ContainerPolicyComplexValue representing the combined policy. |
OR
Combines this policy with another policy using the logical OR operator.
public ContainerPolicyComplexValue OR(
ContainerPolicyComplexValue policy
)
Name | Type | Description |
---|---|---|
policy | ContainerPolicyComplexValue | the policy to combine with this policy using OR. |
Type | Description |
---|---|
ContainerPolicyComplexValue | A new ContainerPolicyComplexValue representing the combined policy. |