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

org.finra.herd.model.api.xml.UploadBusinessObjectDefinitionSampleDataFileInitiationResponse Maven / Gradle / Ivy

Go to download

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).

There is a newer version: 0.160.0
Show newest version

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 uploadBusinessObjectDefinitionSampleDataFileInitiationResponse complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="uploadBusinessObjectDefinitionSampleDataFileInitiationResponse">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <all>
 *         <element name="businessObjectDefinitionKey" type="{}businessObjectDefinitionKey"/>
 *         <element name="awsS3BucketName" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="s3Endpoint" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="s3KeyPrefix" 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"/>
 *       </all>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "uploadBusinessObjectDefinitionSampleDataFileInitiationResponse", propOrder = { }) @XmlRootElement(name = "uploadBusinessObjectDefinitionSampleDataFileInitiationResponse") public class UploadBusinessObjectDefinitionSampleDataFileInitiationResponse implements Serializable, Cloneable, CopyTo2, Equals2, HashCode2, ToString2 { private final static long serialVersionUID = -1L; @XmlElement(required = true) protected BusinessObjectDefinitionKey businessObjectDefinitionKey; @XmlElement(required = true) protected String awsS3BucketName; @XmlElement(required = true) protected String s3Endpoint; @XmlElement(required = true) protected String s3KeyPrefix; @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; /** * Default no-arg constructor * */ public UploadBusinessObjectDefinitionSampleDataFileInitiationResponse() { super(); } /** * Fully-initialising value constructor * */ public UploadBusinessObjectDefinitionSampleDataFileInitiationResponse(final BusinessObjectDefinitionKey businessObjectDefinitionKey, final String awsS3BucketName, final String s3Endpoint, final String s3KeyPrefix, final String awsAccessKey, final String awsSecretKey, final String awsSessionToken, final String awsKmsKeyId, final XMLGregorianCalendar awsSessionExpirationTime) { this.businessObjectDefinitionKey = businessObjectDefinitionKey; this.awsS3BucketName = awsS3BucketName; this.s3Endpoint = s3Endpoint; this.s3KeyPrefix = s3KeyPrefix; this.awsAccessKey = awsAccessKey; this.awsSecretKey = awsSecretKey; this.awsSessionToken = awsSessionToken; this.awsKmsKeyId = awsKmsKeyId; this.awsSessionExpirationTime = awsSessionExpirationTime; } /** * Gets the value of the businessObjectDefinitionKey property. * * @return * possible object is * {@link BusinessObjectDefinitionKey } * */ public BusinessObjectDefinitionKey getBusinessObjectDefinitionKey() { return businessObjectDefinitionKey; } /** * Sets the value of the businessObjectDefinitionKey property. * * @param value * allowed object is * {@link BusinessObjectDefinitionKey } * */ public void setBusinessObjectDefinitionKey(BusinessObjectDefinitionKey value) { this.businessObjectDefinitionKey = 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 s3Endpoint property. * * @return * possible object is * {@link String } * */ public String getS3Endpoint() { return s3Endpoint; } /** * Sets the value of the s3Endpoint property. * * @param value * allowed object is * {@link String } * */ public void setS3Endpoint(String value) { this.s3Endpoint = value; } /** * Gets the value of the s3KeyPrefix property. * * @return * possible object is * {@link String } * */ public String getS3KeyPrefix() { return s3KeyPrefix; } /** * Sets the value of the s3KeyPrefix property. * * @param value * allowed object is * {@link String } * */ public void setS3KeyPrefix(String value) { this.s3KeyPrefix = 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; } 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) { { BusinessObjectDefinitionKey theBusinessObjectDefinitionKey; theBusinessObjectDefinitionKey = this.getBusinessObjectDefinitionKey(); strategy.appendField(locator, this, "businessObjectDefinitionKey", buffer, theBusinessObjectDefinitionKey, (this.businessObjectDefinitionKey!= null)); } { String theAwsS3BucketName; theAwsS3BucketName = this.getAwsS3BucketName(); strategy.appendField(locator, this, "awsS3BucketName", buffer, theAwsS3BucketName, (this.awsS3BucketName!= null)); } { String theS3Endpoint; theS3Endpoint = this.getS3Endpoint(); strategy.appendField(locator, this, "s3Endpoint", buffer, theS3Endpoint, (this.s3Endpoint!= null)); } { String theS3KeyPrefix; theS3KeyPrefix = this.getS3KeyPrefix(); strategy.appendField(locator, this, "s3KeyPrefix", buffer, theS3KeyPrefix, (this.s3KeyPrefix!= 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)); } 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 UploadBusinessObjectDefinitionSampleDataFileInitiationResponse that = ((UploadBusinessObjectDefinitionSampleDataFileInitiationResponse) object); { BusinessObjectDefinitionKey lhsBusinessObjectDefinitionKey; lhsBusinessObjectDefinitionKey = this.getBusinessObjectDefinitionKey(); BusinessObjectDefinitionKey rhsBusinessObjectDefinitionKey; rhsBusinessObjectDefinitionKey = that.getBusinessObjectDefinitionKey(); if (!strategy.equals(LocatorUtils.property(thisLocator, "businessObjectDefinitionKey", lhsBusinessObjectDefinitionKey), LocatorUtils.property(thatLocator, "businessObjectDefinitionKey", rhsBusinessObjectDefinitionKey), lhsBusinessObjectDefinitionKey, rhsBusinessObjectDefinitionKey, (this.businessObjectDefinitionKey!= null), (that.businessObjectDefinitionKey!= 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 lhsS3Endpoint; lhsS3Endpoint = this.getS3Endpoint(); String rhsS3Endpoint; rhsS3Endpoint = that.getS3Endpoint(); if (!strategy.equals(LocatorUtils.property(thisLocator, "s3Endpoint", lhsS3Endpoint), LocatorUtils.property(thatLocator, "s3Endpoint", rhsS3Endpoint), lhsS3Endpoint, rhsS3Endpoint, (this.s3Endpoint!= null), (that.s3Endpoint!= null))) { return false; } } { String lhsS3KeyPrefix; lhsS3KeyPrefix = this.getS3KeyPrefix(); String rhsS3KeyPrefix; rhsS3KeyPrefix = that.getS3KeyPrefix(); if (!strategy.equals(LocatorUtils.property(thisLocator, "s3KeyPrefix", lhsS3KeyPrefix), LocatorUtils.property(thatLocator, "s3KeyPrefix", rhsS3KeyPrefix), lhsS3KeyPrefix, rhsS3KeyPrefix, (this.s3KeyPrefix!= null), (that.s3KeyPrefix!= 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; } } 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; { BusinessObjectDefinitionKey theBusinessObjectDefinitionKey; theBusinessObjectDefinitionKey = this.getBusinessObjectDefinitionKey(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "businessObjectDefinitionKey", theBusinessObjectDefinitionKey), currentHashCode, theBusinessObjectDefinitionKey, (this.businessObjectDefinitionKey!= null)); } { String theAwsS3BucketName; theAwsS3BucketName = this.getAwsS3BucketName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "awsS3BucketName", theAwsS3BucketName), currentHashCode, theAwsS3BucketName, (this.awsS3BucketName!= null)); } { String theS3Endpoint; theS3Endpoint = this.getS3Endpoint(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "s3Endpoint", theS3Endpoint), currentHashCode, theS3Endpoint, (this.s3Endpoint!= null)); } { String theS3KeyPrefix; theS3KeyPrefix = this.getS3KeyPrefix(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "s3KeyPrefix", theS3KeyPrefix), currentHashCode, theS3KeyPrefix, (this.s3KeyPrefix!= 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)); } 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 UploadBusinessObjectDefinitionSampleDataFileInitiationResponse) { final UploadBusinessObjectDefinitionSampleDataFileInitiationResponse copy = ((UploadBusinessObjectDefinitionSampleDataFileInitiationResponse) draftCopy); { Boolean businessObjectDefinitionKeyShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.businessObjectDefinitionKey!= null)); if (businessObjectDefinitionKeyShouldBeCopiedAndSet == Boolean.TRUE) { BusinessObjectDefinitionKey sourceBusinessObjectDefinitionKey; sourceBusinessObjectDefinitionKey = this.getBusinessObjectDefinitionKey(); BusinessObjectDefinitionKey copyBusinessObjectDefinitionKey = ((BusinessObjectDefinitionKey) strategy.copy(LocatorUtils.property(locator, "businessObjectDefinitionKey", sourceBusinessObjectDefinitionKey), sourceBusinessObjectDefinitionKey, (this.businessObjectDefinitionKey!= null))); copy.setBusinessObjectDefinitionKey(copyBusinessObjectDefinitionKey); } else { if (businessObjectDefinitionKeyShouldBeCopiedAndSet == Boolean.FALSE) { copy.businessObjectDefinitionKey = 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 s3EndpointShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.s3Endpoint!= null)); if (s3EndpointShouldBeCopiedAndSet == Boolean.TRUE) { String sourceS3Endpoint; sourceS3Endpoint = this.getS3Endpoint(); String copyS3Endpoint = ((String) strategy.copy(LocatorUtils.property(locator, "s3Endpoint", sourceS3Endpoint), sourceS3Endpoint, (this.s3Endpoint!= null))); copy.setS3Endpoint(copyS3Endpoint); } else { if (s3EndpointShouldBeCopiedAndSet == Boolean.FALSE) { copy.s3Endpoint = null; } } } { Boolean s3KeyPrefixShouldBeCopiedAndSet = strategy.shouldBeCopiedAndSet(locator, (this.s3KeyPrefix!= null)); if (s3KeyPrefixShouldBeCopiedAndSet == Boolean.TRUE) { String sourceS3KeyPrefix; sourceS3KeyPrefix = this.getS3KeyPrefix(); String copyS3KeyPrefix = ((String) strategy.copy(LocatorUtils.property(locator, "s3KeyPrefix", sourceS3KeyPrefix), sourceS3KeyPrefix, (this.s3KeyPrefix!= null))); copy.setS3KeyPrefix(copyS3KeyPrefix); } else { if (s3KeyPrefixShouldBeCopiedAndSet == Boolean.FALSE) { copy.s3KeyPrefix = 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; } } } } return draftCopy; } public Object createNewInstance() { return new UploadBusinessObjectDefinitionSampleDataFileInitiationResponse(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy