ContainerPolicyBuilder
Builder for creating instances of ContainerPolicyWithoutItem and ContainerPolicy.
Constructors
ContainerPolicyBuilder
Creates instance of ContainerPolicyBuilder initialized with Bridge's default policy values.
ContainerPolicyBuilder
Creates instance of ContainerPolicyBuilder initialized with policy values from existing ContainerPolicy instance.
Params
containerPolicy
ContainerPolicy
the existing ContainerPolicy instance to copy values from.
ContainerPolicyBuilder
Creates instance of ContainerPolicyBuilder initialized with policy values from existing ContainerPolicyWithoutItem instance.
Params
containerPolicyWithoutItem
ContainerPolicyWithoutItem
the existing ContainerPolicyWithoutItem instance to copy values from.
Methods
build
Creates ContainerPolicy from current state.
Returns
ContainerPolicy
·
new ContainerPolicy instance created from this builder policies.
buildWithoutItem
Creates ContainerPolicyWithoutItem from current state.
Returns
ContainerPolicyWithoutItem
·
new ContainerPolicyWithoutItem instance created from this builder policies.
setDelete
Sets ContainerPolicyWithoutItem#delete policy value.
Params
policyValue
ContainerPolicyValue
policy value to set
Returns
ContainerPolicyBuilder
·
ContainerPolicyBuilder instance to allow for method chaining.
setGet
Sets ContainerPolicyWithoutItem#get policy value.
Params
policyValue
ContainerPolicyValue
policy value to set
Returns
ContainerPolicyBuilder
·
ContainerPolicyBuilder instance to allow for method chaining.
setItem
Sets ContainerPolicy#item items policy value.
Params
item
ItemPolicy
policy value to set
Returns
ContainerPolicyBuilder
·
ContainerPolicyBuilder instance to allow for method chaining.
setOwnerCanBeRemovedFromManagers
Sets ContainerPolicyWithoutItem#ownerCanBeRemovedFromManagers policy value.
Params
policyValue
SpecialPolicyValue
policy value to set
Returns
ContainerPolicyBuilder
·
ContainerPolicyBuilder instance to allow for method chaining.
setUpdate
Sets ContainerPolicyWithoutItem#update policy value.
Params
policyValue
ContainerPolicyValue
policy value to set
Returns
ContainerPolicyBuilder
·
ContainerPolicyBuilder instance to allow for method chaining.
setUpdatePolicy
Sets ContainerPolicyWithoutItem#updatePolicy policy value.
Params
policyValue
ContainerPolicyValue
policy value to set
Returns
ContainerPolicyBuilder
·
ContainerPolicyBuilder instance to allow for method chaining.
setUpdaterCanBeRemovedFromManagers
Sets ContainerPolicyWithoutItem#updaterCanBeRemovedFromManagers policy value.
Params
policyValue
SpecialPolicyValue
policy value to set
Returns
ContainerPolicyBuilder
·
ContainerPolicyBuilder instance to allow for method chaining.
We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.