org.finra.herd.sdk.model.S3PropertiesLocation Maven / Gradle / Ivy
/*
* herd-external
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 0.125.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.finra.herd.sdk.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* S3PropertiesLocation
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class S3PropertiesLocation {
@JsonProperty("bucketName")
private String bucketName = null;
@JsonProperty("key")
private String key = null;
public S3PropertiesLocation bucketName(String bucketName) {
this.bucketName = bucketName;
return this;
}
/**
* The S3 bucket name
* @return bucketName
**/
@ApiModelProperty(required = true, value = " The S3 bucket name ")
public String getBucketName() {
return bucketName;
}
public void setBucketName(String bucketName) {
this.bucketName = bucketName;
}
public S3PropertiesLocation key(String key) {
this.key = key;
return this;
}
/**
* The S3 object key
* @return key
**/
@ApiModelProperty(required = true, value = " The S3 object key ")
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
S3PropertiesLocation s3PropertiesLocation = (S3PropertiesLocation) o;
return Objects.equals(this.bucketName, s3PropertiesLocation.bucketName) &&
Objects.equals(this.key, s3PropertiesLocation.key);
}
@Override
public int hashCode() {
return Objects.hash(bucketName, key);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class S3PropertiesLocation {\n");
sb.append(" bucketName: ").append(toIndentedString(bucketName)).append("\n");
sb.append(" key: ").append(toIndentedString(key)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}