@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getThingIndexingConfiguration() == null) ? 0 : getThingIndexingConfiguration().hashCode()); hashCode = prime * hashCode + ((getThingGroupIndexingConfiguration() == null) ? 0 : getThingGroupIndexingConfiguration().hashCode()); return hashCode; }
/** * <p> * The index configuration. * </p> * * @param thingGroupIndexingConfiguration * The index configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public GetIndexingConfigurationResult withThingGroupIndexingConfiguration(ThingGroupIndexingConfiguration thingGroupIndexingConfiguration) { setThingGroupIndexingConfiguration(thingGroupIndexingConfiguration); return this; }
/** * <p> * Thing indexing configuration. * </p> * * @param thingIndexingConfiguration * Thing indexing configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public GetIndexingConfigurationResult withThingIndexingConfiguration(ThingIndexingConfiguration thingIndexingConfiguration) { setThingIndexingConfiguration(thingIndexingConfiguration); return this; }
public GetIndexingConfigurationResult unmarshall(JsonUnmarshallerContext context) throws Exception { GetIndexingConfigurationResult getIndexingConfigurationResult = new GetIndexingConfigurationResult(); if (context.testExpression("thingIndexingConfiguration", targetDepth)) { context.nextToken(); getIndexingConfigurationResult.setThingIndexingConfiguration(ThingIndexingConfigurationJsonUnmarshaller.getInstance().unmarshall(context)); getIndexingConfigurationResult.setThingGroupIndexingConfiguration(ThingGroupIndexingConfigurationJsonUnmarshaller.getInstance().unmarshall( context));
public GetIndexingConfigurationResult unmarshall(JsonUnmarshallerContext context) throws Exception { GetIndexingConfigurationResult getIndexingConfigurationResult = new GetIndexingConfigurationResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("thingIndexingConfiguration")) { getIndexingConfigurationResult .setThingIndexingConfiguration(ThingIndexingConfigurationJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("thingGroupIndexingConfiguration")) { getIndexingConfigurationResult .setThingGroupIndexingConfiguration(ThingGroupIndexingConfigurationJsonUnmarshaller .getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return getIndexingConfigurationResult; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetIndexingConfigurationResult == false) return false; GetIndexingConfigurationResult other = (GetIndexingConfigurationResult) obj; if (other.getThingIndexingConfiguration() == null ^ this.getThingIndexingConfiguration() == null) return false; if (other.getThingIndexingConfiguration() != null && other.getThingIndexingConfiguration().equals(this.getThingIndexingConfiguration()) == false) return false; if (other.getThingGroupIndexingConfiguration() == null ^ this.getThingGroupIndexingConfiguration() == null) return false; if (other.getThingGroupIndexingConfiguration() != null && other.getThingGroupIndexingConfiguration().equals(this.getThingGroupIndexingConfiguration()) == false) return false; return true; }
public GetIndexingConfigurationResult unmarshall(JsonUnmarshallerContext context) throws Exception { GetIndexingConfigurationResult getIndexingConfigurationResult = new GetIndexingConfigurationResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("thingIndexingConfiguration")) { getIndexingConfigurationResult .setThingIndexingConfiguration(ThingIndexingConfigurationJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("thingGroupIndexingConfiguration")) { getIndexingConfigurationResult .setThingGroupIndexingConfiguration(ThingGroupIndexingConfigurationJsonUnmarshaller .getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return getIndexingConfigurationResult; }
/** * <p> * The index configuration. * </p> * * @param thingGroupIndexingConfiguration * The index configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public GetIndexingConfigurationResult withThingGroupIndexingConfiguration(ThingGroupIndexingConfiguration thingGroupIndexingConfiguration) { setThingGroupIndexingConfiguration(thingGroupIndexingConfiguration); return this; }
/** * <p> * Thing indexing configuration. * </p> * * @param thingIndexingConfiguration * Thing indexing configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public GetIndexingConfigurationResult withThingIndexingConfiguration(ThingIndexingConfiguration thingIndexingConfiguration) { setThingIndexingConfiguration(thingIndexingConfiguration); 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 (getThingIndexingConfiguration() != null) sb.append("ThingIndexingConfiguration: ").append(getThingIndexingConfiguration()).append(","); if (getThingGroupIndexingConfiguration() != null) sb.append("ThingGroupIndexingConfiguration: ").append(getThingGroupIndexingConfiguration()); sb.append("}"); return sb.toString(); }
public GetIndexingConfigurationResult unmarshall(JsonUnmarshallerContext context) throws Exception { GetIndexingConfigurationResult getIndexingConfigurationResult = new GetIndexingConfigurationResult(); if (context.testExpression("thingIndexingConfiguration", targetDepth)) { context.nextToken(); getIndexingConfigurationResult.setThingIndexingConfiguration(ThingIndexingConfigurationJsonUnmarshaller.getInstance().unmarshall(context)); getIndexingConfigurationResult.setThingGroupIndexingConfiguration(ThingGroupIndexingConfigurationJsonUnmarshaller.getInstance().unmarshall( context));
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getThingIndexingConfiguration() == null) ? 0 : getThingIndexingConfiguration() .hashCode()); hashCode = prime * hashCode + ((getThingGroupIndexingConfiguration() == null) ? 0 : getThingGroupIndexingConfiguration().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetIndexingConfigurationResult == false) return false; GetIndexingConfigurationResult other = (GetIndexingConfigurationResult) obj; if (other.getThingIndexingConfiguration() == null ^ this.getThingIndexingConfiguration() == null) return false; if (other.getThingIndexingConfiguration() != null && other.getThingIndexingConfiguration().equals( this.getThingIndexingConfiguration()) == false) return false; if (other.getThingGroupIndexingConfiguration() == null ^ this.getThingGroupIndexingConfiguration() == null) return false; if (other.getThingGroupIndexingConfiguration() != null && other.getThingGroupIndexingConfiguration().equals( this.getThingGroupIndexingConfiguration()) == false) return false; return true; } }
/** * Returns a string representation of this object; useful for testing and * debugging. * * @return A string representation of this object. * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getThingIndexingConfiguration() != null) sb.append("thingIndexingConfiguration: " + getThingIndexingConfiguration() + ","); if (getThingGroupIndexingConfiguration() != null) sb.append("thingGroupIndexingConfiguration: " + getThingGroupIndexingConfiguration()); sb.append("}"); return sb.toString(); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getThingIndexingConfiguration() == null) ? 0 : getThingIndexingConfiguration().hashCode()); hashCode = prime * hashCode + ((getThingGroupIndexingConfiguration() == null) ? 0 : getThingGroupIndexingConfiguration().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetIndexingConfigurationResult == false) return false; GetIndexingConfigurationResult other = (GetIndexingConfigurationResult) obj; if (other.getThingIndexingConfiguration() == null ^ this.getThingIndexingConfiguration() == null) return false; if (other.getThingIndexingConfiguration() != null && other.getThingIndexingConfiguration().equals(this.getThingIndexingConfiguration()) == false) return false; if (other.getThingGroupIndexingConfiguration() == null ^ this.getThingGroupIndexingConfiguration() == null) return false; if (other.getThingGroupIndexingConfiguration() != null && other.getThingGroupIndexingConfiguration().equals(this.getThingGroupIndexingConfiguration()) == false) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetIndexingConfigurationResult == false) return false; GetIndexingConfigurationResult other = (GetIndexingConfigurationResult) obj; if (other.getThingIndexingConfiguration() == null ^ this.getThingIndexingConfiguration() == null) return false; if (other.getThingIndexingConfiguration() != null && other.getThingIndexingConfiguration().equals( this.getThingIndexingConfiguration()) == false) return false; if (other.getThingGroupIndexingConfiguration() == null ^ this.getThingGroupIndexingConfiguration() == null) return false; if (other.getThingGroupIndexingConfiguration() != null && other.getThingGroupIndexingConfiguration().equals( this.getThingGroupIndexingConfiguration()) == false) return false; return true; } }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getThingIndexingConfiguration() == null) ? 0 : getThingIndexingConfiguration() .hashCode()); hashCode = prime * hashCode + ((getThingGroupIndexingConfiguration() == null) ? 0 : getThingGroupIndexingConfiguration().hashCode()); return hashCode; }
/** * Returns a string representation of this object; useful for testing and * debugging. * * @return A string representation of this object. * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getThingIndexingConfiguration() != null) sb.append("thingIndexingConfiguration: " + getThingIndexingConfiguration() + ","); if (getThingGroupIndexingConfiguration() != null) sb.append("thingGroupIndexingConfiguration: " + getThingGroupIndexingConfiguration()); sb.append("}"); return sb.toString(); }
/** * 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 (getThingIndexingConfiguration() != null) sb.append("ThingIndexingConfiguration: ").append(getThingIndexingConfiguration()).append(","); if (getThingGroupIndexingConfiguration() != null) sb.append("ThingGroupIndexingConfiguration: ").append(getThingGroupIndexingConfiguration()); sb.append("}"); return sb.toString(); }