@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getApplicationName() == null) ? 0 : getApplicationName().hashCode()); hashCode = prime * hashCode + ((getVersionLabel() == null) ? 0 : getVersionLabel().hashCode()); hashCode = prime * hashCode + ((getDeleteSourceBundle() == null) ? 0 : getDeleteSourceBundle().hashCode()); return hashCode; }
/** * 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 (getApplicationName() != null) sb.append("ApplicationName: ").append(getApplicationName()).append(","); if (getVersionLabel() != null) sb.append("VersionLabel: ").append(getVersionLabel()).append(","); if (getDeleteSourceBundle() != null) sb.append("DeleteSourceBundle: ").append(getDeleteSourceBundle()); sb.append("}"); return sb.toString(); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DeleteApplicationVersionRequest == false) return false; DeleteApplicationVersionRequest other = (DeleteApplicationVersionRequest) obj; if (other.getApplicationName() == null ^ this.getApplicationName() == null) return false; if (other.getApplicationName() != null && other.getApplicationName().equals(this.getApplicationName()) == false) return false; if (other.getVersionLabel() == null ^ this.getVersionLabel() == null) return false; if (other.getVersionLabel() != null && other.getVersionLabel().equals(this.getVersionLabel()) == false) return false; if (other.getDeleteSourceBundle() == null ^ this.getDeleteSourceBundle() == null) return false; if (other.getDeleteSourceBundle() != null && other.getDeleteSourceBundle().equals(this.getDeleteSourceBundle()) == false) return false; return true; }
public Request<DeleteApplicationVersionRequest> marshall(DeleteApplicationVersionRequest deleteApplicationVersionRequest) { if (deleteApplicationVersionRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } Request<DeleteApplicationVersionRequest> request = new DefaultRequest<DeleteApplicationVersionRequest>(deleteApplicationVersionRequest, "AWSElasticBeanstalk"); request.addParameter("Action", "DeleteApplicationVersion"); request.addParameter("Version", "2010-12-01"); request.setHttpMethod(HttpMethodName.POST); if (deleteApplicationVersionRequest.getApplicationName() != null) { request.addParameter("ApplicationName", StringUtils.fromString(deleteApplicationVersionRequest.getApplicationName())); } if (deleteApplicationVersionRequest.getVersionLabel() != null) { request.addParameter("VersionLabel", StringUtils.fromString(deleteApplicationVersionRequest.getVersionLabel())); } if (deleteApplicationVersionRequest.getDeleteSourceBundle() != null) { request.addParameter("DeleteSourceBundle", StringUtils.fromBoolean(deleteApplicationVersionRequest.getDeleteSourceBundle())); } return request; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getApplicationName() == null) ? 0 : getApplicationName().hashCode()); hashCode = prime * hashCode + ((getVersionLabel() == null) ? 0 : getVersionLabel().hashCode()); hashCode = prime * hashCode + ((getDeleteSourceBundle() == null) ? 0 : getDeleteSourceBundle().hashCode()); return hashCode; }
/** * 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 (getApplicationName() != null) sb.append("ApplicationName: ").append(getApplicationName()).append(","); if (getVersionLabel() != null) sb.append("VersionLabel: ").append(getVersionLabel()).append(","); if (getDeleteSourceBundle() != null) sb.append("DeleteSourceBundle: ").append(getDeleteSourceBundle()); sb.append("}"); return sb.toString(); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DeleteApplicationVersionRequest == false) return false; DeleteApplicationVersionRequest other = (DeleteApplicationVersionRequest) obj; if (other.getApplicationName() == null ^ this.getApplicationName() == null) return false; if (other.getApplicationName() != null && other.getApplicationName().equals(this.getApplicationName()) == false) return false; if (other.getVersionLabel() == null ^ this.getVersionLabel() == null) return false; if (other.getVersionLabel() != null && other.getVersionLabel().equals(this.getVersionLabel()) == false) return false; if (other.getDeleteSourceBundle() == null ^ this.getDeleteSourceBundle() == null) return false; if (other.getDeleteSourceBundle() != null && other.getDeleteSourceBundle().equals(this.getDeleteSourceBundle()) == false) return false; return true; }
public Request<DeleteApplicationVersionRequest> marshall(DeleteApplicationVersionRequest deleteApplicationVersionRequest) { if (deleteApplicationVersionRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } Request<DeleteApplicationVersionRequest> request = new DefaultRequest<DeleteApplicationVersionRequest>(deleteApplicationVersionRequest, "AWSElasticBeanstalk"); request.addParameter("Action", "DeleteApplicationVersion"); request.addParameter("Version", "2010-12-01"); request.setHttpMethod(HttpMethodName.POST); if (deleteApplicationVersionRequest.getApplicationName() != null) { request.addParameter("ApplicationName", StringUtils.fromString(deleteApplicationVersionRequest.getApplicationName())); } if (deleteApplicationVersionRequest.getVersionLabel() != null) { request.addParameter("VersionLabel", StringUtils.fromString(deleteApplicationVersionRequest.getVersionLabel())); } if (deleteApplicationVersionRequest.getDeleteSourceBundle() != null) { request.addParameter("DeleteSourceBundle", StringUtils.fromBoolean(deleteApplicationVersionRequest.getDeleteSourceBundle())); } return request; }