Skip to main content

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
)

NameTypeDescription
valueStringraw policy value

Methods

AND

Combines this policy with another policy using the logical AND operator.

public ContainerPolicyComplexValue AND(
ContainerPolicyComplexValue policy
)

NameTypeDescription
policyContainerPolicyComplexValuethe policy to combine with this policy using AND.

TypeDescription
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
)

NameTypeDescription
policyContainerPolicyComplexValuethe policy to combine with this policy using OR.

TypeDescription
ContainerPolicyComplexValue A new ContainerPolicyComplexValue representing the combined policy.