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

com.amazonaws.services.medicalimaging.model.CopyImageSetRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Health Imaging module holds the client classes that are used for communicating with AWS Health Imaging Service

The newest version!
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.medicalimaging.model;

import java.io.Serializable;
import javax.annotation.Generated;

import com.amazonaws.AmazonWebServiceRequest;

/**
 * 
 * @see AWS API
 *      Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class CopyImageSetRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

* The data store identifier. *

*/ private String datastoreId; /** *

* The source image set identifier. *

*/ private String sourceImageSetId; /** *

* Copy image set information. *

*/ private CopyImageSetInformation copyImageSetInformation; /** *

* Setting this flag will force the CopyImageSet operation, even if Patient, Study, or Series level * metadata are mismatched across the sourceImageSet and destinationImageSet. *

*/ private Boolean force; /** *

* The data store identifier. *

* * @param datastoreId * The data store identifier. */ public void setDatastoreId(String datastoreId) { this.datastoreId = datastoreId; } /** *

* The data store identifier. *

* * @return The data store identifier. */ public String getDatastoreId() { return this.datastoreId; } /** *

* The data store identifier. *

* * @param datastoreId * The data store identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public CopyImageSetRequest withDatastoreId(String datastoreId) { setDatastoreId(datastoreId); return this; } /** *

* The source image set identifier. *

* * @param sourceImageSetId * The source image set identifier. */ public void setSourceImageSetId(String sourceImageSetId) { this.sourceImageSetId = sourceImageSetId; } /** *

* The source image set identifier. *

* * @return The source image set identifier. */ public String getSourceImageSetId() { return this.sourceImageSetId; } /** *

* The source image set identifier. *

* * @param sourceImageSetId * The source image set identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public CopyImageSetRequest withSourceImageSetId(String sourceImageSetId) { setSourceImageSetId(sourceImageSetId); return this; } /** *

* Copy image set information. *

* * @param copyImageSetInformation * Copy image set information. */ public void setCopyImageSetInformation(CopyImageSetInformation copyImageSetInformation) { this.copyImageSetInformation = copyImageSetInformation; } /** *

* Copy image set information. *

* * @return Copy image set information. */ public CopyImageSetInformation getCopyImageSetInformation() { return this.copyImageSetInformation; } /** *

* Copy image set information. *

* * @param copyImageSetInformation * Copy image set information. * @return Returns a reference to this object so that method calls can be chained together. */ public CopyImageSetRequest withCopyImageSetInformation(CopyImageSetInformation copyImageSetInformation) { setCopyImageSetInformation(copyImageSetInformation); return this; } /** *

* Setting this flag will force the CopyImageSet operation, even if Patient, Study, or Series level * metadata are mismatched across the sourceImageSet and destinationImageSet. *

* * @param force * Setting this flag will force the CopyImageSet operation, even if Patient, Study, or Series * level metadata are mismatched across the sourceImageSet and destinationImageSet. */ public void setForce(Boolean force) { this.force = force; } /** *

* Setting this flag will force the CopyImageSet operation, even if Patient, Study, or Series level * metadata are mismatched across the sourceImageSet and destinationImageSet. *

* * @return Setting this flag will force the CopyImageSet operation, even if Patient, Study, or Series * level metadata are mismatched across the sourceImageSet and destinationImageSet * . */ public Boolean getForce() { return this.force; } /** *

* Setting this flag will force the CopyImageSet operation, even if Patient, Study, or Series level * metadata are mismatched across the sourceImageSet and destinationImageSet. *

* * @param force * Setting this flag will force the CopyImageSet operation, even if Patient, Study, or Series * level metadata are mismatched across the sourceImageSet and destinationImageSet. * @return Returns a reference to this object so that method calls can be chained together. */ public CopyImageSetRequest withForce(Boolean force) { setForce(force); return this; } /** *

* Setting this flag will force the CopyImageSet operation, even if Patient, Study, or Series level * metadata are mismatched across the sourceImageSet and destinationImageSet. *

* * @return Setting this flag will force the CopyImageSet operation, even if Patient, Study, or Series * level metadata are mismatched across the sourceImageSet and destinationImageSet * . */ public Boolean isForce() { return this.force; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getDatastoreId() != null) sb.append("DatastoreId: ").append(getDatastoreId()).append(","); if (getSourceImageSetId() != null) sb.append("SourceImageSetId: ").append(getSourceImageSetId()).append(","); if (getCopyImageSetInformation() != null) sb.append("CopyImageSetInformation: ").append(getCopyImageSetInformation()).append(","); if (getForce() != null) sb.append("Force: ").append(getForce()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CopyImageSetRequest == false) return false; CopyImageSetRequest other = (CopyImageSetRequest) obj; if (other.getDatastoreId() == null ^ this.getDatastoreId() == null) return false; if (other.getDatastoreId() != null && other.getDatastoreId().equals(this.getDatastoreId()) == false) return false; if (other.getSourceImageSetId() == null ^ this.getSourceImageSetId() == null) return false; if (other.getSourceImageSetId() != null && other.getSourceImageSetId().equals(this.getSourceImageSetId()) == false) return false; if (other.getCopyImageSetInformation() == null ^ this.getCopyImageSetInformation() == null) return false; if (other.getCopyImageSetInformation() != null && other.getCopyImageSetInformation().equals(this.getCopyImageSetInformation()) == false) return false; if (other.getForce() == null ^ this.getForce() == null) return false; if (other.getForce() != null && other.getForce().equals(this.getForce()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDatastoreId() == null) ? 0 : getDatastoreId().hashCode()); hashCode = prime * hashCode + ((getSourceImageSetId() == null) ? 0 : getSourceImageSetId().hashCode()); hashCode = prime * hashCode + ((getCopyImageSetInformation() == null) ? 0 : getCopyImageSetInformation().hashCode()); hashCode = prime * hashCode + ((getForce() == null) ? 0 : getForce().hashCode()); return hashCode; } @Override public CopyImageSetRequest clone() { return (CopyImageSetRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy