Class ReplaceDataPolicySchema.Builder

  • Enclosing class:
    ReplaceDataPolicySchema

    public static class ReplaceDataPolicySchema.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String catalogName,
                       java.lang.String dataArtifact,
                       java.util.List<Rule> rules)
        Instantiates a new builder with required properties.
        Parameters:
        catalogName - the catalogName
        dataArtifact - the dataArtifact
        rules - the rules
    • Method Detail

      • build

        public ReplaceDataPolicySchema build()
        Builds a ReplaceDataPolicySchema.
        Returns:
        the new ReplaceDataPolicySchema instance
      • addRules

        public ReplaceDataPolicySchema.Builder addRules​(Rule rules)
        Adds an rules to rules.
        Parameters:
        rules - the new rules
        Returns:
        the ReplaceDataPolicySchema builder
      • catalogName

        public ReplaceDataPolicySchema.Builder catalogName​(java.lang.String catalogName)
        Set the catalogName.
        Parameters:
        catalogName - the catalogName
        Returns:
        the ReplaceDataPolicySchema builder
      • dataArtifact

        public ReplaceDataPolicySchema.Builder dataArtifact​(java.lang.String dataArtifact)
        Set the dataArtifact.
        Parameters:
        dataArtifact - the dataArtifact
        Returns:
        the ReplaceDataPolicySchema builder
      • description

        public ReplaceDataPolicySchema.Builder description​(java.lang.String description)
        Set the description.
        Parameters:
        description - the description
        Returns:
        the ReplaceDataPolicySchema builder
      • rules

        public ReplaceDataPolicySchema.Builder rules​(java.util.List<Rule> rules)
        Set the rules. Existing rules will be replaced.
        Parameters:
        rules - the rules
        Returns:
        the ReplaceDataPolicySchema builder
      • status

        public ReplaceDataPolicySchema.Builder status​(java.lang.String status)
        Set the status.
        Parameters:
        status - the status
        Returns:
        the ReplaceDataPolicySchema builder