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.GenericModel
Rule.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Rule.Actions
static class
Rule.Builder
Builder.static interface
Rule.Effect
data 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.String
effect()
Gets the effect.RuleGrantee
grantee()
Gets the grantee.Rule.Builder
newBuilder()
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
-
-