/** * 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 (getRegistryId() != null) sb.append("RegistryId: ").append(getRegistryId()).append(","); if (getRepositoryName() != null) sb.append("RepositoryName: ").append(getRepositoryName()).append(","); if (getImageIds() != null) sb.append("ImageIds: ").append(getImageIds()).append(","); if (getNextToken() != null) sb.append("NextToken: ").append(getNextToken()).append(","); if (getMaxResults() != null) sb.append("MaxResults: ").append(getMaxResults()).append(","); if (getFilter() != null) sb.append("Filter: ").append(getFilter()); sb.append("}"); return sb.toString(); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getRegistryId() == null) ? 0 : getRegistryId().hashCode()); hashCode = prime * hashCode + ((getRepositoryName() == null) ? 0 : getRepositoryName().hashCode()); hashCode = prime * hashCode + ((getImageIds() == null) ? 0 : getImageIds().hashCode()); hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode()); hashCode = prime * hashCode + ((getMaxResults() == null) ? 0 : getMaxResults().hashCode()); hashCode = prime * hashCode + ((getFilter() == null) ? 0 : getFilter().hashCode()); return hashCode; }
/** * Marshall the given parameter object. */ public void marshall(DescribeImagesRequest describeImagesRequest, ProtocolMarshaller protocolMarshaller) { if (describeImagesRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(describeImagesRequest.getRegistryId(), REGISTRYID_BINDING); protocolMarshaller.marshall(describeImagesRequest.getRepositoryName(), REPOSITORYNAME_BINDING); protocolMarshaller.marshall(describeImagesRequest.getImageIds(), IMAGEIDS_BINDING); protocolMarshaller.marshall(describeImagesRequest.getNextToken(), NEXTTOKEN_BINDING); protocolMarshaller.marshall(describeImagesRequest.getMaxResults(), MAXRESULTS_BINDING); protocolMarshaller.marshall(describeImagesRequest.getFilter(), FILTER_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }
if (other.getImageIds() != null && other.getImageIds().equals(this.getImageIds()) == false) return false; if (other.getNextToken() == null ^ this.getNextToken() == null) return false; if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false) return false; if (other.getMaxResults() == null ^ this.getMaxResults() == null)
/** * 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 (getRegistryId() != null) sb.append("RegistryId: ").append(getRegistryId()).append(","); if (getRepositoryName() != null) sb.append("RepositoryName: ").append(getRepositoryName()).append(","); if (getImageIds() != null) sb.append("ImageIds: ").append(getImageIds()).append(","); if (getNextToken() != null) sb.append("NextToken: ").append(getNextToken()).append(","); if (getMaxResults() != null) sb.append("MaxResults: ").append(getMaxResults()).append(","); if (getFilter() != null) sb.append("Filter: ").append(getFilter()); sb.append("}"); return sb.toString(); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getRegistryId() == null) ? 0 : getRegistryId().hashCode()); hashCode = prime * hashCode + ((getRepositoryName() == null) ? 0 : getRepositoryName().hashCode()); hashCode = prime * hashCode + ((getImageIds() == null) ? 0 : getImageIds().hashCode()); hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode()); hashCode = prime * hashCode + ((getMaxResults() == null) ? 0 : getMaxResults().hashCode()); hashCode = prime * hashCode + ((getFilter() == null) ? 0 : getFilter().hashCode()); return hashCode; }
/** * Marshall the given parameter object. */ public void marshall(DescribeImagesRequest describeImagesRequest, ProtocolMarshaller protocolMarshaller) { if (describeImagesRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(describeImagesRequest.getRegistryId(), REGISTRYID_BINDING); protocolMarshaller.marshall(describeImagesRequest.getRepositoryName(), REPOSITORYNAME_BINDING); protocolMarshaller.marshall(describeImagesRequest.getImageIds(), IMAGEIDS_BINDING); protocolMarshaller.marshall(describeImagesRequest.getNextToken(), NEXTTOKEN_BINDING); protocolMarshaller.marshall(describeImagesRequest.getMaxResults(), MAXRESULTS_BINDING); protocolMarshaller.marshall(describeImagesRequest.getFilter(), FILTER_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }
if (other.getImageIds() != null && other.getImageIds().equals(this.getImageIds()) == false) return false; if (other.getNextToken() == null ^ this.getNextToken() == null) return false; if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false) return false; if (other.getMaxResults() == null ^ this.getMaxResults() == null)