@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDownloadUrl() == null) ? 0 : getDownloadUrl().hashCode()); return hashCode; }
/** * <p> * URL which contains the custom-generated SDK and tool packages used to integrate the client mobile app or web app * with the AWS resources created by the AWS Mobile Hub project. * </p> * * @param downloadUrl * URL which contains the custom-generated SDK and tool packages used to integrate the client mobile app or * web app with the AWS resources created by the AWS Mobile Hub project. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportBundleResult withDownloadUrl(String downloadUrl) { setDownloadUrl(downloadUrl); return this; }
public ExportBundleResult unmarshall(JsonUnmarshallerContext context) throws Exception { ExportBundleResult exportBundleResult = new ExportBundleResult(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return exportBundleResult; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("downloadUrl", targetDepth)) { context.nextToken(); exportBundleResult.setDownloadUrl(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return exportBundleResult; }
public ExportBundleResult unmarshall(JsonUnmarshallerContext context) throws Exception { ExportBundleResult exportBundleResult = new ExportBundleResult(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return exportBundleResult; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("downloadUrl", targetDepth)) { context.nextToken(); exportBundleResult.setDownloadUrl(context.getUnmarshaller(String.class).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return exportBundleResult; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ExportBundleResult == false) return false; ExportBundleResult other = (ExportBundleResult) obj; if (other.getDownloadUrl() == null ^ this.getDownloadUrl() == null) return false; if (other.getDownloadUrl() != null && other.getDownloadUrl().equals(this.getDownloadUrl()) == false) return false; return true; }
/** * <p> * URL which contains the custom-generated SDK and tool packages used to integrate the client mobile app or web app * with the AWS resources created by the AWS Mobile Hub project. * </p> * * @param downloadUrl * URL which contains the custom-generated SDK and tool packages used to integrate the client mobile app or * web app with the AWS resources created by the AWS Mobile Hub project. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportBundleResult withDownloadUrl(String downloadUrl) { setDownloadUrl(downloadUrl); 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 (getDownloadUrl() != null) sb.append("DownloadUrl: ").append(getDownloadUrl()); sb.append("}"); return sb.toString(); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getDownloadUrl() == null) ? 0 : getDownloadUrl().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ExportBundleResult == false) return false; ExportBundleResult other = (ExportBundleResult) obj; if (other.getDownloadUrl() == null ^ this.getDownloadUrl() == null) return false; if (other.getDownloadUrl() != null && other.getDownloadUrl().equals(this.getDownloadUrl()) == false) return false; return true; }
/** * 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 (getDownloadUrl() != null) sb.append("DownloadUrl: ").append(getDownloadUrl()); sb.append("}"); return sb.toString(); }