org.finra.herd.sdk.model.UploadBusinessObjectDefinitionSampleDataFileInitiationResponse 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;
import org.finra.herd.sdk.model.BusinessObjectDefinitionKey;
import org.joda.time.DateTime;
/**
* UploadBusinessObjectDefinitionSampleDataFileInitiationResponse
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class UploadBusinessObjectDefinitionSampleDataFileInitiationResponse {
@JsonProperty("businessObjectDefinitionKey")
private BusinessObjectDefinitionKey businessObjectDefinitionKey = null;
@JsonProperty("awsS3BucketName")
private String awsS3BucketName = null;
@JsonProperty("s3Endpoint")
private String s3Endpoint = null;
@JsonProperty("s3KeyPrefix")
private String s3KeyPrefix = null;
@JsonProperty("awsAccessKey")
private String awsAccessKey = null;
@JsonProperty("awsSecretKey")
private String awsSecretKey = null;
@JsonProperty("awsSessionToken")
private String awsSessionToken = null;
@JsonProperty("awsKmsKeyId")
private String awsKmsKeyId = null;
@JsonProperty("awsSessionExpirationTime")
private DateTime awsSessionExpirationTime = null;
public UploadBusinessObjectDefinitionSampleDataFileInitiationResponse businessObjectDefinitionKey(BusinessObjectDefinitionKey businessObjectDefinitionKey) {
this.businessObjectDefinitionKey = businessObjectDefinitionKey;
return this;
}
/**
* Get businessObjectDefinitionKey
* @return businessObjectDefinitionKey
**/
@ApiModelProperty(required = true, value = "")
public BusinessObjectDefinitionKey getBusinessObjectDefinitionKey() {
return businessObjectDefinitionKey;
}
public void setBusinessObjectDefinitionKey(BusinessObjectDefinitionKey businessObjectDefinitionKey) {
this.businessObjectDefinitionKey = businessObjectDefinitionKey;
}
public UploadBusinessObjectDefinitionSampleDataFileInitiationResponse awsS3BucketName(String awsS3BucketName) {
this.awsS3BucketName = awsS3BucketName;
return this;
}
/**
* Get awsS3BucketName
* @return awsS3BucketName
**/
@ApiModelProperty(required = true, value = "")
public String getAwsS3BucketName() {
return awsS3BucketName;
}
public void setAwsS3BucketName(String awsS3BucketName) {
this.awsS3BucketName = awsS3BucketName;
}
public UploadBusinessObjectDefinitionSampleDataFileInitiationResponse s3Endpoint(String s3Endpoint) {
this.s3Endpoint = s3Endpoint;
return this;
}
/**
* Get s3Endpoint
* @return s3Endpoint
**/
@ApiModelProperty(required = true, value = "")
public String getS3Endpoint() {
return s3Endpoint;
}
public void setS3Endpoint(String s3Endpoint) {
this.s3Endpoint = s3Endpoint;
}
public UploadBusinessObjectDefinitionSampleDataFileInitiationResponse s3KeyPrefix(String s3KeyPrefix) {
this.s3KeyPrefix = s3KeyPrefix;
return this;
}
/**
* Get s3KeyPrefix
* @return s3KeyPrefix
**/
@ApiModelProperty(required = true, value = "")
public String getS3KeyPrefix() {
return s3KeyPrefix;
}
public void setS3KeyPrefix(String s3KeyPrefix) {
this.s3KeyPrefix = s3KeyPrefix;
}
public UploadBusinessObjectDefinitionSampleDataFileInitiationResponse awsAccessKey(String awsAccessKey) {
this.awsAccessKey = awsAccessKey;
return this;
}
/**
* Get awsAccessKey
* @return awsAccessKey
**/
@ApiModelProperty(required = true, value = "")
public String getAwsAccessKey() {
return awsAccessKey;
}
public void setAwsAccessKey(String awsAccessKey) {
this.awsAccessKey = awsAccessKey;
}
public UploadBusinessObjectDefinitionSampleDataFileInitiationResponse awsSecretKey(String awsSecretKey) {
this.awsSecretKey = awsSecretKey;
return this;
}
/**
* Get awsSecretKey
* @return awsSecretKey
**/
@ApiModelProperty(required = true, value = "")
public String getAwsSecretKey() {
return awsSecretKey;
}
public void setAwsSecretKey(String awsSecretKey) {
this.awsSecretKey = awsSecretKey;
}
public UploadBusinessObjectDefinitionSampleDataFileInitiationResponse awsSessionToken(String awsSessionToken) {
this.awsSessionToken = awsSessionToken;
return this;
}
/**
* Get awsSessionToken
* @return awsSessionToken
**/
@ApiModelProperty(required = true, value = "")
public String getAwsSessionToken() {
return awsSessionToken;
}
public void setAwsSessionToken(String awsSessionToken) {
this.awsSessionToken = awsSessionToken;
}
public UploadBusinessObjectDefinitionSampleDataFileInitiationResponse awsKmsKeyId(String awsKmsKeyId) {
this.awsKmsKeyId = awsKmsKeyId;
return this;
}
/**
* Get awsKmsKeyId
* @return awsKmsKeyId
**/
@ApiModelProperty(value = "")
public String getAwsKmsKeyId() {
return awsKmsKeyId;
}
public void setAwsKmsKeyId(String awsKmsKeyId) {
this.awsKmsKeyId = awsKmsKeyId;
}
public UploadBusinessObjectDefinitionSampleDataFileInitiationResponse awsSessionExpirationTime(DateTime awsSessionExpirationTime) {
this.awsSessionExpirationTime = awsSessionExpirationTime;
return this;
}
/**
* Get awsSessionExpirationTime
* @return awsSessionExpirationTime
**/
@ApiModelProperty(required = true, value = "")
public DateTime getAwsSessionExpirationTime() {
return awsSessionExpirationTime;
}
public void setAwsSessionExpirationTime(DateTime awsSessionExpirationTime) {
this.awsSessionExpirationTime = awsSessionExpirationTime;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
UploadBusinessObjectDefinitionSampleDataFileInitiationResponse uploadBusinessObjectDefinitionSampleDataFileInitiationResponse = (UploadBusinessObjectDefinitionSampleDataFileInitiationResponse) o;
return Objects.equals(this.businessObjectDefinitionKey, uploadBusinessObjectDefinitionSampleDataFileInitiationResponse.businessObjectDefinitionKey) &&
Objects.equals(this.awsS3BucketName, uploadBusinessObjectDefinitionSampleDataFileInitiationResponse.awsS3BucketName) &&
Objects.equals(this.s3Endpoint, uploadBusinessObjectDefinitionSampleDataFileInitiationResponse.s3Endpoint) &&
Objects.equals(this.s3KeyPrefix, uploadBusinessObjectDefinitionSampleDataFileInitiationResponse.s3KeyPrefix) &&
Objects.equals(this.awsAccessKey, uploadBusinessObjectDefinitionSampleDataFileInitiationResponse.awsAccessKey) &&
Objects.equals(this.awsSecretKey, uploadBusinessObjectDefinitionSampleDataFileInitiationResponse.awsSecretKey) &&
Objects.equals(this.awsSessionToken, uploadBusinessObjectDefinitionSampleDataFileInitiationResponse.awsSessionToken) &&
Objects.equals(this.awsKmsKeyId, uploadBusinessObjectDefinitionSampleDataFileInitiationResponse.awsKmsKeyId) &&
Objects.equals(this.awsSessionExpirationTime, uploadBusinessObjectDefinitionSampleDataFileInitiationResponse.awsSessionExpirationTime);
}
@Override
public int hashCode() {
return Objects.hash(businessObjectDefinitionKey, awsS3BucketName, s3Endpoint, s3KeyPrefix, awsAccessKey, awsSecretKey, awsSessionToken, awsKmsKeyId, awsSessionExpirationTime);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UploadBusinessObjectDefinitionSampleDataFileInitiationResponse {\n");
sb.append(" businessObjectDefinitionKey: ").append(toIndentedString(businessObjectDefinitionKey)).append("\n");
sb.append(" awsS3BucketName: ").append(toIndentedString(awsS3BucketName)).append("\n");
sb.append(" s3Endpoint: ").append(toIndentedString(s3Endpoint)).append("\n");
sb.append(" s3KeyPrefix: ").append(toIndentedString(s3KeyPrefix)).append("\n");
sb.append(" awsAccessKey: ").append(toIndentedString(awsAccessKey)).append("\n");
sb.append(" awsSecretKey: ").append(toIndentedString(awsSecretKey)).append("\n");
sb.append(" awsSessionToken: ").append(toIndentedString(awsSessionToken)).append("\n");
sb.append(" awsKmsKeyId: ").append(toIndentedString(awsKmsKeyId)).append("\n");
sb.append(" awsSessionExpirationTime: ").append(toIndentedString(awsSessionExpirationTime)).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 ");
}
}