All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openmetadata.schema.metadataIngestion.storage.ContainerMetadataConfig Maven / Gradle / Ivy

There is a newer version: 1.6.0-rc1
Show newest version

package org.openmetadata.schema.metadataIngestion.storage;

import java.util.List;
import javax.annotation.processing.Generated;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;


/**
 * StorageContainerConfig
 * 

* Definition of the properties contained by an object store container template config file * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "entries" }) @Generated("jsonschema2pojo") public class ContainerMetadataConfig { /** * List of metadata entries for the bucket containing information about where data resides and its structure * (Required) * */ @JsonProperty("entries") @JsonPropertyDescription("List of metadata entries for the bucket containing information about where data resides and its structure") @Valid @NotNull private List entries = null; /** * List of metadata entries for the bucket containing information about where data resides and its structure * (Required) * */ @JsonProperty("entries") public List getEntries() { return entries; } /** * List of metadata entries for the bucket containing information about where data resides and its structure * (Required) * */ @JsonProperty("entries") public void setEntries(List entries) { this.entries = entries; } public ContainerMetadataConfig withEntries(List entries) { this.entries = entries; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(ContainerMetadataConfig.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("entries"); sb.append('='); sb.append(((this.entries == null)?"":this.entries)); sb.append(','); if (sb.charAt((sb.length()- 1)) == ',') { sb.setCharAt((sb.length()- 1), ']'); } else { sb.append(']'); } return sb.toString(); } @Override public int hashCode() { int result = 1; result = ((result* 31)+((this.entries == null)? 0 :this.entries.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ContainerMetadataConfig) == false) { return false; } ContainerMetadataConfig rhs = ((ContainerMetadataConfig) other); return ((this.entries == rhs.entries)||((this.entries!= null)&&this.entries.equals(rhs.entries))); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy