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

com.amazonaws.services.medicalimaging.model.ImageSetProperties 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

There is a newer version: 1.12.780
Show 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.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* The image set properties. *

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

* The image set identifier. *

*/ private String imageSetId; /** *

* The image set version identifier. *

*/ private String versionId; /** *

* The image set state. *

*/ private String imageSetState; /** *

* The image set workflow status. *

*/ private String imageSetWorkflowStatus; /** *

* The timestamp when the image set properties were created. *

*/ private java.util.Date createdAt; /** *

* The timestamp when the image set properties were updated. *

*/ private java.util.Date updatedAt; /** *

* The timestamp when the image set properties were deleted. *

*/ private java.util.Date deletedAt; /** *

* The error message thrown if an image set action fails. *

*/ private String message; /** *

* The image set identifier. *

* * @param imageSetId * The image set identifier. */ public void setImageSetId(String imageSetId) { this.imageSetId = imageSetId; } /** *

* The image set identifier. *

* * @return The image set identifier. */ public String getImageSetId() { return this.imageSetId; } /** *

* The image set identifier. *

* * @param imageSetId * The image set identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public ImageSetProperties withImageSetId(String imageSetId) { setImageSetId(imageSetId); return this; } /** *

* The image set version identifier. *

* * @param versionId * The image set version identifier. */ public void setVersionId(String versionId) { this.versionId = versionId; } /** *

* The image set version identifier. *

* * @return The image set version identifier. */ public String getVersionId() { return this.versionId; } /** *

* The image set version identifier. *

* * @param versionId * The image set version identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public ImageSetProperties withVersionId(String versionId) { setVersionId(versionId); return this; } /** *

* The image set state. *

* * @param imageSetState * The image set state. * @see ImageSetState */ public void setImageSetState(String imageSetState) { this.imageSetState = imageSetState; } /** *

* The image set state. *

* * @return The image set state. * @see ImageSetState */ public String getImageSetState() { return this.imageSetState; } /** *

* The image set state. *

* * @param imageSetState * The image set state. * @return Returns a reference to this object so that method calls can be chained together. * @see ImageSetState */ public ImageSetProperties withImageSetState(String imageSetState) { setImageSetState(imageSetState); return this; } /** *

* The image set state. *

* * @param imageSetState * The image set state. * @return Returns a reference to this object so that method calls can be chained together. * @see ImageSetState */ public ImageSetProperties withImageSetState(ImageSetState imageSetState) { this.imageSetState = imageSetState.toString(); return this; } /** *

* The image set workflow status. *

* * @param imageSetWorkflowStatus * The image set workflow status. * @see ImageSetWorkflowStatus */ public void setImageSetWorkflowStatus(String imageSetWorkflowStatus) { this.imageSetWorkflowStatus = imageSetWorkflowStatus; } /** *

* The image set workflow status. *

* * @return The image set workflow status. * @see ImageSetWorkflowStatus */ public String getImageSetWorkflowStatus() { return this.imageSetWorkflowStatus; } /** *

* The image set workflow status. *

* * @param imageSetWorkflowStatus * The image set workflow status. * @return Returns a reference to this object so that method calls can be chained together. * @see ImageSetWorkflowStatus */ public ImageSetProperties withImageSetWorkflowStatus(String imageSetWorkflowStatus) { setImageSetWorkflowStatus(imageSetWorkflowStatus); return this; } /** *

* The image set workflow status. *

* * @param imageSetWorkflowStatus * The image set workflow status. * @return Returns a reference to this object so that method calls can be chained together. * @see ImageSetWorkflowStatus */ public ImageSetProperties withImageSetWorkflowStatus(ImageSetWorkflowStatus imageSetWorkflowStatus) { this.imageSetWorkflowStatus = imageSetWorkflowStatus.toString(); return this; } /** *

* The timestamp when the image set properties were created. *

* * @param createdAt * The timestamp when the image set properties were created. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** *

* The timestamp when the image set properties were created. *

* * @return The timestamp when the image set properties were created. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** *

* The timestamp when the image set properties were created. *

* * @param createdAt * The timestamp when the image set properties were created. * @return Returns a reference to this object so that method calls can be chained together. */ public ImageSetProperties withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** *

* The timestamp when the image set properties were updated. *

* * @param updatedAt * The timestamp when the image set properties were updated. */ public void setUpdatedAt(java.util.Date updatedAt) { this.updatedAt = updatedAt; } /** *

* The timestamp when the image set properties were updated. *

* * @return The timestamp when the image set properties were updated. */ public java.util.Date getUpdatedAt() { return this.updatedAt; } /** *

* The timestamp when the image set properties were updated. *

* * @param updatedAt * The timestamp when the image set properties were updated. * @return Returns a reference to this object so that method calls can be chained together. */ public ImageSetProperties withUpdatedAt(java.util.Date updatedAt) { setUpdatedAt(updatedAt); return this; } /** *

* The timestamp when the image set properties were deleted. *

* * @param deletedAt * The timestamp when the image set properties were deleted. */ public void setDeletedAt(java.util.Date deletedAt) { this.deletedAt = deletedAt; } /** *

* The timestamp when the image set properties were deleted. *

* * @return The timestamp when the image set properties were deleted. */ public java.util.Date getDeletedAt() { return this.deletedAt; } /** *

* The timestamp when the image set properties were deleted. *

* * @param deletedAt * The timestamp when the image set properties were deleted. * @return Returns a reference to this object so that method calls can be chained together. */ public ImageSetProperties withDeletedAt(java.util.Date deletedAt) { setDeletedAt(deletedAt); return this; } /** *

* The error message thrown if an image set action fails. *

* * @param message * The error message thrown if an image set action fails. */ public void setMessage(String message) { this.message = message; } /** *

* The error message thrown if an image set action fails. *

* * @return The error message thrown if an image set action fails. */ public String getMessage() { return this.message; } /** *

* The error message thrown if an image set action fails. *

* * @param message * The error message thrown if an image set action fails. * @return Returns a reference to this object so that method calls can be chained together. */ public ImageSetProperties withMessage(String message) { setMessage(message); return this; } /** * 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 (getImageSetId() != null) sb.append("ImageSetId: ").append(getImageSetId()).append(","); if (getVersionId() != null) sb.append("VersionId: ").append(getVersionId()).append(","); if (getImageSetState() != null) sb.append("ImageSetState: ").append(getImageSetState()).append(","); if (getImageSetWorkflowStatus() != null) sb.append("ImageSetWorkflowStatus: ").append(getImageSetWorkflowStatus()).append(","); if (getCreatedAt() != null) sb.append("CreatedAt: ").append(getCreatedAt()).append(","); if (getUpdatedAt() != null) sb.append("UpdatedAt: ").append(getUpdatedAt()).append(","); if (getDeletedAt() != null) sb.append("DeletedAt: ").append(getDeletedAt()).append(","); if (getMessage() != null) sb.append("Message: ").append(getMessage()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ImageSetProperties == false) return false; ImageSetProperties other = (ImageSetProperties) obj; if (other.getImageSetId() == null ^ this.getImageSetId() == null) return false; if (other.getImageSetId() != null && other.getImageSetId().equals(this.getImageSetId()) == false) return false; if (other.getVersionId() == null ^ this.getVersionId() == null) return false; if (other.getVersionId() != null && other.getVersionId().equals(this.getVersionId()) == false) return false; if (other.getImageSetState() == null ^ this.getImageSetState() == null) return false; if (other.getImageSetState() != null && other.getImageSetState().equals(this.getImageSetState()) == false) return false; if (other.getImageSetWorkflowStatus() == null ^ this.getImageSetWorkflowStatus() == null) return false; if (other.getImageSetWorkflowStatus() != null && other.getImageSetWorkflowStatus().equals(this.getImageSetWorkflowStatus()) == false) return false; if (other.getCreatedAt() == null ^ this.getCreatedAt() == null) return false; if (other.getCreatedAt() != null && other.getCreatedAt().equals(this.getCreatedAt()) == false) return false; if (other.getUpdatedAt() == null ^ this.getUpdatedAt() == null) return false; if (other.getUpdatedAt() != null && other.getUpdatedAt().equals(this.getUpdatedAt()) == false) return false; if (other.getDeletedAt() == null ^ this.getDeletedAt() == null) return false; if (other.getDeletedAt() != null && other.getDeletedAt().equals(this.getDeletedAt()) == false) return false; if (other.getMessage() == null ^ this.getMessage() == null) return false; if (other.getMessage() != null && other.getMessage().equals(this.getMessage()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getImageSetId() == null) ? 0 : getImageSetId().hashCode()); hashCode = prime * hashCode + ((getVersionId() == null) ? 0 : getVersionId().hashCode()); hashCode = prime * hashCode + ((getImageSetState() == null) ? 0 : getImageSetState().hashCode()); hashCode = prime * hashCode + ((getImageSetWorkflowStatus() == null) ? 0 : getImageSetWorkflowStatus().hashCode()); hashCode = prime * hashCode + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode()); hashCode = prime * hashCode + ((getUpdatedAt() == null) ? 0 : getUpdatedAt().hashCode()); hashCode = prime * hashCode + ((getDeletedAt() == null) ? 0 : getDeletedAt().hashCode()); hashCode = prime * hashCode + ((getMessage() == null) ? 0 : getMessage().hashCode()); return hashCode; } @Override public ImageSetProperties clone() { try { return (ImageSetProperties) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.medicalimaging.model.transform.ImageSetPropertiesMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy