Class 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.
      • Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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