* Uniquely identifies a copy job. *
*/ private String copyJobId; /** *
* The date and time that a copy job is created, in Unix format and Coordinated Universal Time (UTC). The value of
* CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday,
* January 26, 2018 12:11:30.087 AM.
*
* This is a returned boolean value indicating this is a parent (composite) copy job. *
*/ private Boolean isParent; /** ** Uniquely identifies a copy job. *
* * @param copyJobId * Uniquely identifies a copy job. */ public void setCopyJobId(String copyJobId) { this.copyJobId = copyJobId; } /** ** Uniquely identifies a copy job. *
* * @return Uniquely identifies a copy job. */ public String getCopyJobId() { return this.copyJobId; } /** ** Uniquely identifies a copy job. *
* * @param copyJobId * Uniquely identifies a copy job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartCopyJobResult withCopyJobId(String copyJobId) { setCopyJobId(copyJobId); return this; } /** *
* The date and time that a copy job is created, in Unix format and Coordinated Universal Time (UTC). The value of
* CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday,
* January 26, 2018 12:11:30.087 AM.
*
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087
* represents Friday, January 26, 2018 12:11:30.087 AM.
*/
public void setCreationDate(java.util.Date creationDate) {
this.creationDate = creationDate;
}
/**
*
* The date and time that a copy job is created, in Unix format and Coordinated Universal Time (UTC). The value of
* CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday,
* January 26, 2018 12:11:30.087 AM.
*
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087
* represents Friday, January 26, 2018 12:11:30.087 AM.
*/
public java.util.Date getCreationDate() {
return this.creationDate;
}
/**
*
* The date and time that a copy job is created, in Unix format and Coordinated Universal Time (UTC). The value of
* CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday,
* January 26, 2018 12:11:30.087 AM.
*
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087
* represents Friday, January 26, 2018 12:11:30.087 AM.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public StartCopyJobResult withCreationDate(java.util.Date creationDate) {
setCreationDate(creationDate);
return this;
}
/**
* * This is a returned boolean value indicating this is a parent (composite) copy job. *
* * @param isParent * This is a returned boolean value indicating this is a parent (composite) copy job. */ public void setIsParent(Boolean isParent) { this.isParent = isParent; } /** ** This is a returned boolean value indicating this is a parent (composite) copy job. *
* * @return This is a returned boolean value indicating this is a parent (composite) copy job. */ public Boolean getIsParent() { return this.isParent; } /** ** This is a returned boolean value indicating this is a parent (composite) copy job. *
* * @param isParent * This is a returned boolean value indicating this is a parent (composite) copy job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartCopyJobResult withIsParent(Boolean isParent) { setIsParent(isParent); return this; } /** ** This is a returned boolean value indicating this is a parent (composite) copy job. *
* * @return This is a returned boolean value indicating this is a parent (composite) copy job. */ public Boolean isParent() { return this.isParent; } /** * 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 (getCopyJobId() != null) sb.append("CopyJobId: ").append(getCopyJobId()).append(","); if (getCreationDate() != null) sb.append("CreationDate: ").append(getCreationDate()).append(","); if (getIsParent() != null) sb.append("IsParent: ").append(getIsParent()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof StartCopyJobResult == false) return false; StartCopyJobResult other = (StartCopyJobResult) obj; if (other.getCopyJobId() == null ^ this.getCopyJobId() == null) return false; if (other.getCopyJobId() != null && other.getCopyJobId().equals(this.getCopyJobId()) == false) return false; if (other.getCreationDate() == null ^ this.getCreationDate() == null) return false; if (other.getCreationDate() != null && other.getCreationDate().equals(this.getCreationDate()) == false) return false; if (other.getIsParent() == null ^ this.getIsParent() == null) return false; if (other.getIsParent() != null && other.getIsParent().equals(this.getIsParent()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCopyJobId() == null) ? 0 : getCopyJobId().hashCode()); hashCode = prime * hashCode + ((getCreationDate() == null) ? 0 : getCreationDate().hashCode()); hashCode = prime * hashCode + ((getIsParent() == null) ? 0 : getIsParent().hashCode()); return hashCode; } @Override public StartCopyJobResult clone() { try { return (StartCopyJobResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }