Class Rule
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.watsonxdata.watsonx_data.v1.model.Rule
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Rule extends com.ibm.cloud.sdk.core.service.model.GenericModelRule.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRule.Actionsstatic classRule.BuilderBuilder.static interfaceRule.Effectdata policy effect.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>actions()Gets the actions.java.lang.Stringeffect()Gets the effect.RuleGranteegrantee()Gets the grantee.Rule.BuildernewBuilder()New builder.
-
-
-
Method Detail
-
newBuilder
public Rule.Builder newBuilder()
New builder.- Returns:
- a Rule builder
-
actions
public java.util.List<java.lang.String> actions()
Gets the actions. the actions to enforce when the data policy triggers.- Returns:
- the actions
-
effect
public java.lang.String effect()
Gets the effect. data policy effect.- Returns:
- the effect
-
grantee
public RuleGrantee grantee()
Gets the grantee. user name, group id or tag value.- Returns:
- the grantee
-
-