* A container element containing the details of the asynchronous operation. *
*/ private AsyncOperation asyncOperation; /** ** A container element containing the details of the asynchronous operation. *
* * @param asyncOperation * A container element containing the details of the asynchronous operation. */ public void setAsyncOperation(AsyncOperation asyncOperation) { this.asyncOperation = asyncOperation; } /** ** A container element containing the details of the asynchronous operation. *
* * @return A container element containing the details of the asynchronous operation. */ public AsyncOperation getAsyncOperation() { return this.asyncOperation; } /** ** A container element containing the details of the asynchronous operation. *
* * @param asyncOperation * A container element containing the details of the asynchronous operation. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeMultiRegionAccessPointOperationResult withAsyncOperation(AsyncOperation asyncOperation) { setAsyncOperation(asyncOperation); 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 (getAsyncOperation() != null) sb.append("AsyncOperation: ").append(getAsyncOperation()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeMultiRegionAccessPointOperationResult == false) return false; DescribeMultiRegionAccessPointOperationResult other = (DescribeMultiRegionAccessPointOperationResult) obj; if (other.getAsyncOperation() == null ^ this.getAsyncOperation() == null) return false; if (other.getAsyncOperation() != null && other.getAsyncOperation().equals(this.getAsyncOperation()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAsyncOperation() == null) ? 0 : getAsyncOperation().hashCode()); return hashCode; } @Override public DescribeMultiRegionAccessPointOperationResult clone() { try { return (DescribeMultiRegionAccessPointOperationResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }