Class DataHubResourceFilter


  • @Validated
    @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
               date="2022-10-18T12:49:45.903581Z[Etc/UTC]")
    public class DataHubResourceFilter
    extends java.lang.Object
    Information used to filter DataHub resource.
    • Constructor Detail

      • DataHubResourceFilter

        public DataHubResourceFilter()
    • Method Detail

      • getType

        public java.lang.String getType()
        The type of resource that the policy applies to. This will most often be a data asset entity name, for example 'dataset'. It is not strictly required because in the future we will want to support filtering a resource by domain, as well.
        Returns:
        type
      • setType

        public void setType​(java.lang.String type)
      • getResources

        public java.util.List<java.lang.String> getResources()
        A specific set of resources to apply the policy to, e.g. asset urns
        Returns:
        resources
      • setResources

        public void setResources​(java.util.List<java.lang.String> resources)
      • isAllResources

        @NotNull
        public @NotNull java.lang.Boolean isAllResources()
        Whether the policy should be applied to all assets matching the filter.
        Returns:
        allResources
      • setAllResources

        public void setAllResources​(java.lang.Boolean allResources)
      • getFilter

        @Valid
        public @Valid PolicyMatchFilter getFilter()
        Get filter
        Returns:
        filter
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object