if (getEnableSsl() != null) sb.append("EnableSsl: ").append(getEnableSsl()).append(","); if (getSslConfiguration() != null) sb.append("SslConfiguration: ").append(getSslConfiguration()).append(","); if (getAttributes() != null) sb.append("Attributes: ").append(getAttributes()).append(",");
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getStackId() == null) ? 0 : getStackId().hashCode()); hashCode = prime * hashCode + ((getShortname() == null) ? 0 : getShortname().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.getEnableSsl() != null && other.getEnableSsl().equals(this.getEnableSsl()) == false) return false; if (other.getSslConfiguration() == null ^ this.getSslConfiguration() == null) return false; if (other.getSslConfiguration() != null && other.getSslConfiguration().equals(this.getSslConfiguration()) == false) return false; if (other.getAttributes() == null ^ this.getAttributes() == null)
/** * Marshall the given parameter object. */ public void marshall(CreateAppRequest createAppRequest, ProtocolMarshaller protocolMarshaller) { if (createAppRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(createAppRequest.getStackId(), STACKID_BINDING); protocolMarshaller.marshall(createAppRequest.getShortname(), SHORTNAME_BINDING); protocolMarshaller.marshall(createAppRequest.getName(), NAME_BINDING); protocolMarshaller.marshall(createAppRequest.getDescription(), DESCRIPTION_BINDING); protocolMarshaller.marshall(createAppRequest.getDataSources(), DATASOURCES_BINDING); protocolMarshaller.marshall(createAppRequest.getType(), TYPE_BINDING); protocolMarshaller.marshall(createAppRequest.getAppSource(), APPSOURCE_BINDING); protocolMarshaller.marshall(createAppRequest.getDomains(), DOMAINS_BINDING); protocolMarshaller.marshall(createAppRequest.getEnableSsl(), ENABLESSL_BINDING); protocolMarshaller.marshall(createAppRequest.getSslConfiguration(), SSLCONFIGURATION_BINDING); protocolMarshaller.marshall(createAppRequest.getAttributes(), ATTRIBUTES_BINDING); protocolMarshaller.marshall(createAppRequest.getEnvironment(), ENVIRONMENT_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }
if (getEnableSsl() != null) sb.append("EnableSsl: ").append(getEnableSsl()).append(","); if (getSslConfiguration() != null) sb.append("SslConfiguration: ").append(getSslConfiguration()).append(","); if (getAttributes() != null) sb.append("Attributes: ").append(getAttributes()).append(",");
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getStackId() == null) ? 0 : getStackId().hashCode()); hashCode = prime * hashCode + ((getShortname() == null) ? 0 : getShortname().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.getEnableSsl() != null && other.getEnableSsl().equals(this.getEnableSsl()) == false) return false; if (other.getSslConfiguration() == null ^ this.getSslConfiguration() == null) return false; if (other.getSslConfiguration() != null && other.getSslConfiguration().equals(this.getSslConfiguration()) == false) return false; if (other.getAttributes() == null ^ this.getAttributes() == null)
/** * Marshall the given parameter object. */ public void marshall(CreateAppRequest createAppRequest, ProtocolMarshaller protocolMarshaller) { if (createAppRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(createAppRequest.getStackId(), STACKID_BINDING); protocolMarshaller.marshall(createAppRequest.getShortname(), SHORTNAME_BINDING); protocolMarshaller.marshall(createAppRequest.getName(), NAME_BINDING); protocolMarshaller.marshall(createAppRequest.getDescription(), DESCRIPTION_BINDING); protocolMarshaller.marshall(createAppRequest.getDataSources(), DATASOURCES_BINDING); protocolMarshaller.marshall(createAppRequest.getType(), TYPE_BINDING); protocolMarshaller.marshall(createAppRequest.getAppSource(), APPSOURCE_BINDING); protocolMarshaller.marshall(createAppRequest.getDomains(), DOMAINS_BINDING); protocolMarshaller.marshall(createAppRequest.getEnableSsl(), ENABLESSL_BINDING); protocolMarshaller.marshall(createAppRequest.getSslConfiguration(), SSLCONFIGURATION_BINDING); protocolMarshaller.marshall(createAppRequest.getAttributes(), ATTRIBUTES_BINDING); protocolMarshaller.marshall(createAppRequest.getEnvironment(), ENVIRONMENT_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }