/** * 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(); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateIndexingConfigurationRequest == false) return false; UpdateIndexingConfigurationRequest other = (UpdateIndexingConfigurationRequest) 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; }
/** * Marshall the given parameter object. */ public void marshall(UpdateIndexingConfigurationRequest updateIndexingConfigurationRequest, ProtocolMarshaller protocolMarshaller) { if (updateIndexingConfigurationRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(updateIndexingConfigurationRequest.getThingIndexingConfiguration(), THINGINDEXINGCONFIGURATION_BINDING); protocolMarshaller.marshall(updateIndexingConfigurationRequest.getThingGroupIndexingConfiguration(), THINGGROUPINDEXINGCONFIGURATION_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }
/** * 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 boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateIndexingConfigurationRequest == false) return false; UpdateIndexingConfigurationRequest other = (UpdateIndexingConfigurationRequest) 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; }
thingIndexingConfiguration, jsonWriter); if (updateIndexingConfigurationRequest.getThingGroupIndexingConfiguration() != null) { ThingGroupIndexingConfiguration thingGroupIndexingConfiguration = updateIndexingConfigurationRequest .getThingGroupIndexingConfiguration(); jsonWriter.name("thingGroupIndexingConfiguration"); ThingGroupIndexingConfigurationJsonMarshaller.getInstance().marshall(
/** * 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(); }
/** * Marshall the given parameter object. */ public void marshall(UpdateIndexingConfigurationRequest updateIndexingConfigurationRequest, ProtocolMarshaller protocolMarshaller) { if (updateIndexingConfigurationRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(updateIndexingConfigurationRequest.getThingIndexingConfiguration(), THINGINDEXINGCONFIGURATION_BINDING); protocolMarshaller.marshall(updateIndexingConfigurationRequest.getThingGroupIndexingConfiguration(), THINGGROUPINDEXINGCONFIGURATION_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }
@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 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 UpdateIndexingConfigurationRequest == false) return false; UpdateIndexingConfigurationRequest other = (UpdateIndexingConfigurationRequest) 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 UpdateIndexingConfigurationRequest == false) return false; UpdateIndexingConfigurationRequest other = (UpdateIndexingConfigurationRequest) 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; } }
thingIndexingConfiguration, jsonWriter); if (updateIndexingConfigurationRequest.getThingGroupIndexingConfiguration() != null) { ThingGroupIndexingConfiguration thingGroupIndexingConfiguration = updateIndexingConfigurationRequest .getThingGroupIndexingConfiguration(); jsonWriter.name("thingGroupIndexingConfiguration"); ThingGroupIndexingConfigurationJsonMarshaller.getInstance().marshall(