if (getAttributes() != null) sb.append("Attributes: ").append(getAttributes()).append(","); if (getEnvironment() != null) sb.append("Environment: ").append(getEnvironment()); sb.append("}"); return sb.toString();
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAppId() == null) ? 0 : getAppId().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getDataSources() == null) ? 0 : getDataSources().hashCode()); hashCode = prime * hashCode + ((getType() == null) ? 0 : getType().hashCode()); hashCode = prime * hashCode + ((getAppSource() == null) ? 0 : getAppSource().hashCode()); hashCode = prime * hashCode + ((getDomains() == null) ? 0 : getDomains().hashCode()); hashCode = prime * hashCode + ((getEnableSsl() == null) ? 0 : getEnableSsl().hashCode()); hashCode = prime * hashCode + ((getSslConfiguration() == null) ? 0 : getSslConfiguration().hashCode()); hashCode = prime * hashCode + ((getAttributes() == null) ? 0 : getAttributes().hashCode()); hashCode = prime * hashCode + ((getEnvironment() == null) ? 0 : getEnvironment().hashCode()); return hashCode; }
if (other.getAttributes() != null && other.getAttributes().equals(this.getAttributes()) == false) return false; if (other.getEnvironment() == null ^ this.getEnvironment() == null) return false; if (other.getEnvironment() != null && other.getEnvironment().equals(this.getEnvironment()) == false) return false; return true;
/** * Marshall the given parameter object. */ public void marshall(UpdateAppRequest updateAppRequest, ProtocolMarshaller protocolMarshaller) { if (updateAppRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(updateAppRequest.getAppId(), APPID_BINDING); protocolMarshaller.marshall(updateAppRequest.getName(), NAME_BINDING); protocolMarshaller.marshall(updateAppRequest.getDescription(), DESCRIPTION_BINDING); protocolMarshaller.marshall(updateAppRequest.getDataSources(), DATASOURCES_BINDING); protocolMarshaller.marshall(updateAppRequest.getType(), TYPE_BINDING); protocolMarshaller.marshall(updateAppRequest.getAppSource(), APPSOURCE_BINDING); protocolMarshaller.marshall(updateAppRequest.getDomains(), DOMAINS_BINDING); protocolMarshaller.marshall(updateAppRequest.getEnableSsl(), ENABLESSL_BINDING); protocolMarshaller.marshall(updateAppRequest.getSslConfiguration(), SSLCONFIGURATION_BINDING); protocolMarshaller.marshall(updateAppRequest.getAttributes(), ATTRIBUTES_BINDING); protocolMarshaller.marshall(updateAppRequest.getEnvironment(), ENVIRONMENT_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }
if (getAttributes() != null) sb.append("Attributes: ").append(getAttributes()).append(","); if (getEnvironment() != null) sb.append("Environment: ").append(getEnvironment()); sb.append("}"); return sb.toString();
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAppId() == null) ? 0 : getAppId().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getDataSources() == null) ? 0 : getDataSources().hashCode()); hashCode = prime * hashCode + ((getType() == null) ? 0 : getType().hashCode()); hashCode = prime * hashCode + ((getAppSource() == null) ? 0 : getAppSource().hashCode()); hashCode = prime * hashCode + ((getDomains() == null) ? 0 : getDomains().hashCode()); hashCode = prime * hashCode + ((getEnableSsl() == null) ? 0 : getEnableSsl().hashCode()); hashCode = prime * hashCode + ((getSslConfiguration() == null) ? 0 : getSslConfiguration().hashCode()); hashCode = prime * hashCode + ((getAttributes() == null) ? 0 : getAttributes().hashCode()); hashCode = prime * hashCode + ((getEnvironment() == null) ? 0 : getEnvironment().hashCode()); return hashCode; }
if (other.getAttributes() != null && other.getAttributes().equals(this.getAttributes()) == false) return false; if (other.getEnvironment() == null ^ this.getEnvironment() == null) return false; if (other.getEnvironment() != null && other.getEnvironment().equals(this.getEnvironment()) == false) return false; return true;
/** * Marshall the given parameter object. */ public void marshall(UpdateAppRequest updateAppRequest, ProtocolMarshaller protocolMarshaller) { if (updateAppRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(updateAppRequest.getAppId(), APPID_BINDING); protocolMarshaller.marshall(updateAppRequest.getName(), NAME_BINDING); protocolMarshaller.marshall(updateAppRequest.getDescription(), DESCRIPTION_BINDING); protocolMarshaller.marshall(updateAppRequest.getDataSources(), DATASOURCES_BINDING); protocolMarshaller.marshall(updateAppRequest.getType(), TYPE_BINDING); protocolMarshaller.marshall(updateAppRequest.getAppSource(), APPSOURCE_BINDING); protocolMarshaller.marshall(updateAppRequest.getDomains(), DOMAINS_BINDING); protocolMarshaller.marshall(updateAppRequest.getEnableSsl(), ENABLESSL_BINDING); protocolMarshaller.marshall(updateAppRequest.getSslConfiguration(), SSLCONFIGURATION_BINDING); protocolMarshaller.marshall(updateAppRequest.getAttributes(), ATTRIBUTES_BINDING); protocolMarshaller.marshall(updateAppRequest.getEnvironment(), ENVIRONMENT_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }