org.finra.herd.model.api.xml.DownloadBusinessObjectDefinitionSampleDataFileSingleInitiationResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of herd-model-api Show documentation
Show all versions of herd-model-api Show documentation
This project contains the model API classes. This contains the herd XSD and generates Java POJO's from them. These classes are used for incoming
and outgoing calls into the system (e.g. via REST).
package org.finra.herd.model.api.xml;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import org.jvnet.jaxb2_commons.lang.CopyStrategy2;
import org.jvnet.jaxb2_commons.lang.CopyTo2;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBCopyStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
/**
* Java class for downloadBusinessObjectDefinitionSampleDataFileSingleInitiationResponse complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="downloadBusinessObjectDefinitionSampleDataFileSingleInitiationResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="businessObjectDefinitionSampleDataFileKey" type="{}businessObjectDefinitionSampleDataFileKey"/>
* <element name="awsS3BucketName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="awsAccessKey" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="awsSecretKey" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="awsSessionToken" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="awsKmsKeyId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="awsSessionExpirationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="preSignedUrl" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "downloadBusinessObjectDefinitionSampleDataFileSingleInitiationResponse", propOrder = {
"businessObjectDefinitionSampleDataFileKey",
"awsS3BucketName",
"awsAccessKey",
"awsSecretKey",
"awsSessionToken",
"awsKmsKeyId",
"awsSessionExpirationTime",
"preSignedUrl"
})
@XmlRootElement(name = "downloadBusinessObjectDefinitionSampleDataFileSingleInitiationResponse")
public class DownloadBusinessObjectDefinitionSampleDataFileSingleInitiationResponse implements Serializable, Cloneable, CopyTo2, Equals2, HashCode2, ToString2
{
private final static long serialVersionUID = -1L;
@XmlElement(required = true)
protected BusinessObjectDefinitionSampleDataFileKey businessObjectDefinitionSampleDataFileKey;
@XmlElement(required = true)
protected String awsS3BucketName;
@XmlElement(required = true)
protected String awsAccessKey;
@XmlElement(required = true)
protected String awsSecretKey;
@XmlElement(required = true)
protected String awsSessionToken;
protected String awsKmsKeyId;
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar awsSessionExpirationTime;
@XmlElement(required = true)
protected String preSignedUrl;
/**
* Default no-arg constructor
*
*/
public DownloadBusinessObjectDefinitionSampleDataFileSingleInitiationResponse() {
super();
}
/**
* Fully-initialising value constructor
*
*/
public DownloadBusinessObjectDefinitionSampleDataFileSingleInitiationResponse(final BusinessObjectDefinitionSampleDataFileKey businessObjectDefinitionSampleDataFileKey, final String awsS3BucketName, final String awsAccessKey, final String awsSecretKey, final String awsSessionToken, final String awsKmsKeyId, final XMLGregorianCalendar awsSessionExpirationTime, final String preSignedUrl) {
this.businessObjectDefinitionSampleDataFileKey = businessObjectDefinitionSampleDataFileKey;
this.awsS3BucketName = awsS3BucketName;
this.awsAccessKey = awsAccessKey;
this.awsSecretKey = awsSecretKey;
this.awsSessionToken = awsSessionToken;
this.awsKmsKeyId = awsKmsKeyId;
this.awsSessionExpirationTime = awsSessionExpirationTime;
this.preSignedUrl = preSignedUrl;
}
/**
* Gets the value of the businessObjectDefinitionSampleDataFileKey property.
*
* @return
* possible object is
* {@link BusinessObjectDefinitionSampleDataFileKey }
*
*/
public BusinessObjectDefinitionSampleDataFileKey getBusinessObjectDefinitionSampleDataFileKey() {
return businessObjectDefinitionSampleDataFileKey;
}
/**
* Sets the value of the businessObjectDefinitionSampleDataFileKey property.
*
* @param value
* allowed object is
* {@link BusinessObjectDefinitionSampleDataFileKey }
*
*/
public void setBusinessObjectDefinitionSampleDataFileKey(BusinessObjectDefinitionSampleDataFileKey value) {
this.businessObjectDefinitionSampleDataFileKey = value;
}
/**
* Gets the value of the awsS3BucketName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAwsS3BucketName() {
return awsS3BucketName;
}
/**
* Sets the value of the awsS3BucketName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAwsS3BucketName(String value) {
this.awsS3BucketName = value;
}
/**
* Gets the value of the awsAccessKey property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAwsAccessKey() {
return awsAccessKey;
}
/**
* Sets the value of the awsAccessKey property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAwsAccessKey(String value) {
this.awsAccessKey = value;
}
/**
* Gets the value of the awsSecretKey property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAwsSecretKey() {
return awsSecretKey;
}
/**
* Sets the value of the awsSecretKey property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAwsSecretKey(String value) {
this.awsSecretKey = value;
}
/**
* Gets the value of the awsSessionToken property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAwsSessionToken() {
return awsSessionToken;
}
/**
* Sets the value of the awsSessionToken property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAwsSessionToken(String value) {
this.awsSessionToken = value;
}
/**
* Gets the value of the awsKmsKeyId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAwsKmsKeyId() {
return awsKmsKeyId;
}
/**
* Sets the value of the awsKmsKeyId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAwsKmsKeyId(String value) {
this.awsKmsKeyId = value;
}
/**
* Gets the value of the awsSessionExpirationTime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getAwsSessionExpirationTime() {
return awsSessionExpirationTime;
}
/**
* Sets the value of the awsSessionExpirationTime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setAwsSessionExpirationTime(XMLGregorianCalendar value) {
this.awsSessionExpirationTime = value;
}
/**
* Gets the value of the preSignedUrl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPreSignedUrl() {
return preSignedUrl;
}
/**
* Sets the value of the preSignedUrl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPreSignedUrl(String value) {
this.preSignedUrl = value;
}
public String toString() {
final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) {
{
BusinessObjectDefinitionSampleDataFileKey theBusinessObjectDefinitionSampleDataFileKey;
theBusinessObjectDefinitionSampleDataFileKey = this.getBusinessObjectDefinitionSampleDataFileKey();
strategy.appendField(locator, this, "businessObjectDefinitionSampleDataFileKey", buffer, theBusinessObjectDefinitionSampleDataFileKey, (this.businessObjectDefinitionSampleDataFileKey!= null));
}
{
String theAwsS3BucketName;
theAwsS3BucketName = this.getAwsS3BucketName();
strategy.appendField(locator, this, "awsS3BucketName", buffer, theAwsS3BucketName, (this.awsS3BucketName!= null));
}
{
String theAwsAccessKey;
theAwsAccessKey = this.getAwsAccessKey();
strategy.appendField(locator, this, "awsAccessKey", buffer, theAwsAccessKey, (this.awsAccessKey!= null));
}
{
String theAwsSecretKey;
theAwsSecretKey = this.getAwsSecretKey();
strategy.appendField(locator, this, "awsSecretKey", buffer, theAwsSecretKey, (this.awsSecretKey!= null));
}
{
String theAwsSessionToken;
theAwsSessionToken = this.getAwsSessionToken();
strategy.appendField(locator, this, "awsSessionToken", buffer, theAwsSessionToken, (this.awsSessionToken!= null));
}
{
String theAwsKmsKeyId;
theAwsKmsKeyId = this.getAwsKmsKeyId();
strategy.appendField(locator, this, "awsKmsKeyId", buffer, theAwsKmsKeyId, (this.awsKmsKeyId!= null));
}
{
XMLGregorianCalendar theAwsSessionExpirationTime;
theAwsSessionExpirationTime = this.getAwsSessionExpirationTime();
strategy.appendField(locator, this, "awsSessionExpirationTime", buffer, theAwsSessionExpirationTime, (this.awsSessionExpirationTime!= null));
}
{
String thePreSignedUrl;
thePreSignedUrl = this.getPreSignedUrl();
strategy.appendField(locator, this, "preSignedUrl", buffer, thePreSignedUrl, (this.preSignedUrl!= null));
}
return buffer;
}
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) {
if ((object == null)||(this.getClass()!= object.getClass())) {
return false;
}
if (this == object) {
return true;
}
final DownloadBusinessObjectDefinitionSampleDataFileSingleInitiationResponse that = ((DownloadBusinessObjectDefinitionSampleDataFileSingleInitiationResponse) object);
{
BusinessObjectDefinitionSampleDataFileKey lhsBusinessObjectDefinitionSampleDataFileKey;
lhsBusinessObjectDefinitionSampleDataFileKey = this.getBusinessObjectDefinitionSampleDataFileKey();
BusinessObjectDefinitionSampleDataFileKey rhsBusinessObjectDefinitionSampleDataFileKey;
rhsBusinessObjectDefinitionSampleDataFileKey = that.getBusinessObjectDefinitionSampleDataFileKey();
if (!strategy.equals(LocatorUtils.property(thisLocator, "businessObjectDefinitionSampleDataFileKey", lhsBusinessObjectDefinitionSampleDataFileKey), LocatorUtils.property(thatLocator, "businessObjectDefinitionSampleDataFileKey", rhsBusinessObjectDefinitionSampleDataFileKey), lhsBusinessObjectDefinitionSampleDataFileKey, rhsBusinessObjectDefinitionSampleDataFileKey, (this.businessObjectDefinitionSampleDataFileKey!= null), (that.businessObjectDefinitionSampleDataFileKey!= null))) {
return false;
}
}
{
String lhsAwsS3BucketName;
lhsAwsS3BucketName = this.getAwsS3BucketName();
String rhsAwsS3BucketName;
rhsAwsS3BucketName = that.getAwsS3BucketName();
if (!strategy.equals(LocatorUtils.property(thisLocator, "awsS3BucketName", lhsAwsS3BucketName), LocatorUtils.property(thatLocator, "awsS3BucketName", rhsAwsS3BucketName), lhsAwsS3BucketName, rhsAwsS3BucketName, (this.awsS3BucketName!= null), (that.awsS3BucketName!= null))) {
return false;
}
}
{
String lhsAwsAccessKey;
lhsAwsAccessKey = this.getAwsAccessKey();
String rhsAwsAccessKey;
rhsAwsAccessKey = that.getAwsAccessKey();
if (!strategy.equals(LocatorUtils.property(thisLocator, "awsAccessKey", lhsAwsAccessKey), LocatorUtils.property(thatLocator, "awsAccessKey", rhsAwsAccessKey), lhsAwsAccessKey, rhsAwsAccessKey, (this.awsAccessKey!= null), (that.awsAccessKey!= null))) {
return false;
}
}
{
String lhsAwsSecretKey;
lhsAwsSecretKey = this.getAwsSecretKey();
String rhsAwsSecretKey;
rhsAwsSecretKey = that.getAwsSecretKey();
if (!strategy.equals(LocatorUtils.property(thisLocator, "awsSecretKey", lhsAwsSecretKey), LocatorUtils.property(thatLocator, "awsSecretKey", rhsAwsSecretKey), lhsAwsSecretKey, rhsAwsSecretKey, (this.awsSecretKey!= null), (that.awsSecretKey!= null))) {
return false;
}
}
{
String lhsAwsSessionToken;
lhsAwsSessionToken = this.getAwsSessionToken();
String rhsAwsSessionToken;
rhsAwsSessionToken = that.getAwsSessionToken();
if (!strategy.equals(LocatorUtils.property(thisLocator, "awsSessionToken", lhsAwsSessionToken), LocatorUtils.property(thatLocator, "awsSessionToken", rhsAwsSessionToken), lhsAwsSessionToken, rhsAwsSessionToken, (this.awsSessionToken!= null), (that.awsSessionToken!= null))) {
return false;
}
}
{
String lhsAwsKmsKeyId;
lhsAwsKmsKeyId = this.getAwsKmsKeyId();
String rhsAwsKmsKeyId;
rhsAwsKmsKeyId = that.getAwsKmsKeyId();
if (!strategy.equals(LocatorUtils.property(thisLocator, "awsKmsKeyId", lhsAwsKmsKeyId), LocatorUtils.property(thatLocator, "awsKmsKeyId", rhsAwsKmsKeyId), lhsAwsKmsKeyId, rhsAwsKmsKeyId, (this.awsKmsKeyId!= null), (that.awsKmsKeyId!= null))) {
return false;
}
}
{
XMLGregorianCalendar lhsAwsSessionExpirationTime;
lhsAwsSessionExpirationTime = this.getAwsSessionExpirationTime();
XMLGregorianCalendar rhsAwsSessionExpirationTime;
rhsAwsSessionExpirationTime = that.getAwsSessionExpirationTime();
if (!strategy.equals(LocatorUtils.property(thisLocator, "awsSessionExpirationTime", lhsAwsSessionExpirationTime), LocatorUtils.property(thatLocator, "awsSessionExpirationTime", rhsAwsSessionExpirationTime), lhsAwsSessionExpirationTime, rhsAwsSessionExpirationTime, (this.awsSessionExpirationTime!= null), (that.awsSessionExpirationTime!= null))) {
return false;
}
}
{
String lhsPreSignedUrl;
lhsPreSignedUrl = this.getPreSignedUrl();
String rhsPreSignedUrl;
rhsPreSignedUrl = that.getPreSignedUrl();
if (!strategy.equals(LocatorUtils.property(thisLocator, "preSignedUrl", lhsPreSignedUrl), LocatorUtils.property(thatLocator, "preSignedUrl", rhsPreSignedUrl), lhsPreSignedUrl, rhsPreSignedUrl, (this.preSignedUrl!= null), (that.preSignedUrl!= null))) {
return false;
}
}
return true;
}
public boolean equals(Object object) {
final EqualsStrategy2 strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) {
int currentHashCode = 1;
{
BusinessObjectDefinitionSampleDataFileKey theBusinessObjectDefinitionSampleDataFileKey;
theBusinessObjectDefinitionSampleDataFileKey = this.getBusinessObjectDefinitionSampleDataFileKey();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "businessObjectDefinitionSampleDataFileKey", theBusinessObjectDefinitionSampleDataFileKey), currentHashCode, theBusinessObjectDefinitionSampleDataFileKey, (this.businessObjectDefinitionSampleDataFileKey!= null));
}
{
String theAwsS3BucketName;
theAwsS3BucketName = this.getAwsS3BucketName();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsS3BucketName", theAwsS3BucketName), currentHashCode, theAwsS3BucketName, (this.awsS3BucketName!= null));
}
{
String theAwsAccessKey;
theAwsAccessKey = this.getAwsAccessKey();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsAccessKey", theAwsAccessKey), currentHashCode, theAwsAccessKey, (this.awsAccessKey!= null));
}
{
String theAwsSecretKey;
theAwsSecretKey = this.getAwsSecretKey();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsSecretKey", theAwsSecretKey), currentHashCode, theAwsSecretKey, (this.awsSecretKey!= null));
}
{
String theAwsSessionToken;
theAwsSessionToken = this.getAwsSessionToken();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsSessionToken", theAwsSessionToken), currentHashCode, theAwsSessionToken, (this.awsSessionToken!= null));
}
{
String theAwsKmsKeyId;
theAwsKmsKeyId = this.getAwsKmsKeyId();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsKmsKeyId", theAwsKmsKeyId), currentHashCode, theAwsKmsKeyId, (this.awsKmsKeyId!= null));
}
{
XMLGregorianCalendar theAwsSessionExpirationTime;
theAwsSessionExpirationTime = this.getAwsSessionExpirationTime();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsSessionExpirationTime", theAwsSessionExpirationTime), currentHashCode, theAwsSessionExpirationTime, (this.awsSessionExpirationTime!= null));
}
{
String thePreSignedUrl;
thePreSignedUrl = this.getPreSignedUrl();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "preSignedUrl", thePreSignedUrl), currentHashCode, thePreSignedUrl, (this.preSignedUrl!= null));
}
return currentHashCode;
}
public int hashCode() {
final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
public Object clone() {
return copyTo(createNewInstance());
}
public Object copyTo(Object target) {
final CopyStrategy2 strategy = JAXBCopyStrategy.INSTANCE;
return copyTo(null, target, strategy);
}
public Object copyTo(ObjectLocator locator, Object target, CopyStrategy2 strategy) {
final Object draftCopy = ((target == null)?createNewInstance():target);
if (draftCopy instanceof DownloadBusinessObjectDefinitionSampleDataFileSingleInitiationResponse) {
final DownloadBusinessObjectDefinitionSampleDataFileSingleInitiationResponse copy = ((DownloadBusinessObjectDefinitionSampleDataFileSingleInitiationResponse) draftCopy);
{
Boolean businessObjectDefinitionSampleDataFileKeyShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.businessObjectDefinitionSampleDataFileKey!= null));
if (businessObjectDefinitionSampleDataFileKeyShouldBeCopiedAndSet == Boolean.TRUE) {
BusinessObjectDefinitionSampleDataFileKey sourceBusinessObjectDefinitionSampleDataFileKey;
sourceBusinessObjectDefinitionSampleDataFileKey = this.getBusinessObjectDefinitionSampleDataFileKey();
BusinessObjectDefinitionSampleDataFileKey copyBusinessObjectDefinitionSampleDataFileKey = ((BusinessObjectDefinitionSampleDataFileKey) strategy.copy(LocatorUtils.property(locator, "businessObjectDefinitionSampleDataFileKey", sourceBusinessObjectDefinitionSampleDataFileKey), sourceBusinessObjectDefinitionSampleDataFileKey, (this.businessObjectDefinitionSampleDataFileKey!= null)));
copy.setBusinessObjectDefinitionSampleDataFileKey(copyBusinessObjectDefinitionSampleDataFileKey);
} else {
if (businessObjectDefinitionSampleDataFileKeyShouldBeCopiedAndSet == Boolean.FALSE) {
copy.businessObjectDefinitionSampleDataFileKey = null;
}
}
}
{
Boolean awsS3BucketNameShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.awsS3BucketName!= null));
if (awsS3BucketNameShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceAwsS3BucketName;
sourceAwsS3BucketName = this.getAwsS3BucketName();
String copyAwsS3BucketName = ((String) strategy.copy(LocatorUtils.property(locator, "awsS3BucketName", sourceAwsS3BucketName), sourceAwsS3BucketName, (this.awsS3BucketName!= null)));
copy.setAwsS3BucketName(copyAwsS3BucketName);
} else {
if (awsS3BucketNameShouldBeCopiedAndSet == Boolean.FALSE) {
copy.awsS3BucketName = null;
}
}
}
{
Boolean awsAccessKeyShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.awsAccessKey!= null));
if (awsAccessKeyShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceAwsAccessKey;
sourceAwsAccessKey = this.getAwsAccessKey();
String copyAwsAccessKey = ((String) strategy.copy(LocatorUtils.property(locator, "awsAccessKey", sourceAwsAccessKey), sourceAwsAccessKey, (this.awsAccessKey!= null)));
copy.setAwsAccessKey(copyAwsAccessKey);
} else {
if (awsAccessKeyShouldBeCopiedAndSet == Boolean.FALSE) {
copy.awsAccessKey = null;
}
}
}
{
Boolean awsSecretKeyShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.awsSecretKey!= null));
if (awsSecretKeyShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceAwsSecretKey;
sourceAwsSecretKey = this.getAwsSecretKey();
String copyAwsSecretKey = ((String) strategy.copy(LocatorUtils.property(locator, "awsSecretKey", sourceAwsSecretKey), sourceAwsSecretKey, (this.awsSecretKey!= null)));
copy.setAwsSecretKey(copyAwsSecretKey);
} else {
if (awsSecretKeyShouldBeCopiedAndSet == Boolean.FALSE) {
copy.awsSecretKey = null;
}
}
}
{
Boolean awsSessionTokenShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.awsSessionToken!= null));
if (awsSessionTokenShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceAwsSessionToken;
sourceAwsSessionToken = this.getAwsSessionToken();
String copyAwsSessionToken = ((String) strategy.copy(LocatorUtils.property(locator, "awsSessionToken", sourceAwsSessionToken), sourceAwsSessionToken, (this.awsSessionToken!= null)));
copy.setAwsSessionToken(copyAwsSessionToken);
} else {
if (awsSessionTokenShouldBeCopiedAndSet == Boolean.FALSE) {
copy.awsSessionToken = null;
}
}
}
{
Boolean awsKmsKeyIdShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.awsKmsKeyId!= null));
if (awsKmsKeyIdShouldBeCopiedAndSet == Boolean.TRUE) {
String sourceAwsKmsKeyId;
sourceAwsKmsKeyId = this.getAwsKmsKeyId();
String copyAwsKmsKeyId = ((String) strategy.copy(LocatorUtils.property(locator, "awsKmsKeyId", sourceAwsKmsKeyId), sourceAwsKmsKeyId, (this.awsKmsKeyId!= null)));
copy.setAwsKmsKeyId(copyAwsKmsKeyId);
} else {
if (awsKmsKeyIdShouldBeCopiedAndSet == Boolean.FALSE) {
copy.awsKmsKeyId = null;
}
}
}
{
Boolean awsSessionExpirationTimeShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.awsSessionExpirationTime!= null));
if (awsSessionExpirationTimeShouldBeCopiedAndSet == Boolean.TRUE) {
XMLGregorianCalendar sourceAwsSessionExpirationTime;
sourceAwsSessionExpirationTime = this.getAwsSessionExpirationTime();
XMLGregorianCalendar copyAwsSessionExpirationTime = ((XMLGregorianCalendar) strategy.copy(LocatorUtils.property(locator, "awsSessionExpirationTime", sourceAwsSessionExpirationTime), sourceAwsSessionExpirationTime, (this.awsSessionExpirationTime!= null)));
copy.setAwsSessionExpirationTime(copyAwsSessionExpirationTime);
} else {
if (awsSessionExpirationTimeShouldBeCopiedAndSet == Boolean.FALSE) {
copy.awsSessionExpirationTime = null;
}
}
}
{
Boolean preSignedUrlShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.preSignedUrl!= null));
if (preSignedUrlShouldBeCopiedAndSet == Boolean.TRUE) {
String sourcePreSignedUrl;
sourcePreSignedUrl = this.getPreSignedUrl();
String copyPreSignedUrl = ((String) strategy.copy(LocatorUtils.property(locator, "preSignedUrl", sourcePreSignedUrl), sourcePreSignedUrl, (this.preSignedUrl!= null)));
copy.setPreSignedUrl(copyPreSignedUrl);
} else {
if (preSignedUrlShouldBeCopiedAndSet == Boolean.FALSE) {
copy.preSignedUrl = null;
}
}
}
}
return draftCopy;
}
public Object createNewInstance() {
return new DownloadBusinessObjectDefinitionSampleDataFileSingleInitiationResponse();
}
}