* A list of the properties for patches matching the filter request parameters. *
*/ private com.amazonaws.internal.SdkInternalList* The token for the next set of items to return. (You use this token in the next call.) *
*/ private String nextToken; /** ** A list of the properties for patches matching the filter request parameters. *
* * @return A list of the properties for patches matching the filter request parameters. */ public java.util.List* A list of the properties for patches matching the filter request parameters. *
* * @param properties * A list of the properties for patches matching the filter request parameters. */ public void setProperties(java.util.Collection* A list of the properties for patches matching the filter request parameters. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setProperties(java.util.Collection)} or {@link #withProperties(java.util.Collection)} if you want to * override the existing values. *
* * @param properties * A list of the properties for patches matching the filter request parameters. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribePatchPropertiesResult withProperties(java.util.Map* A list of the properties for patches matching the filter request parameters. *
* * @param properties * A list of the properties for patches matching the filter request parameters. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribePatchPropertiesResult withProperties(java.util.Collection* The token for the next set of items to return. (You use this token in the next call.) *
* * @param nextToken * The token for the next set of items to return. (You use this token in the next call.) */ public void setNextToken(String nextToken) { this.nextToken = nextToken; } /** ** The token for the next set of items to return. (You use this token in the next call.) *
* * @return The token for the next set of items to return. (You use this token in the next call.) */ public String getNextToken() { return this.nextToken; } /** ** The token for the next set of items to return. (You use this token in the next call.) *
* * @param nextToken * The token for the next set of items to return. (You use this token in the next call.) * @return Returns a reference to this object so that method calls can be chained together. */ public DescribePatchPropertiesResult withNextToken(String nextToken) { setNextToken(nextToken); return this; } /** * 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 (getProperties() != null) sb.append("Properties: ").append(getProperties()).append(","); if (getNextToken() != null) sb.append("NextToken: ").append(getNextToken()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribePatchPropertiesResult == false) return false; DescribePatchPropertiesResult other = (DescribePatchPropertiesResult) obj; if (other.getProperties() == null ^ this.getProperties() == null) return false; if (other.getProperties() != null && other.getProperties().equals(this.getProperties()) == false) return false; if (other.getNextToken() == null ^ this.getNextToken() == null) return false; if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getProperties() == null) ? 0 : getProperties().hashCode()); hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode()); return hashCode; } @Override public DescribePatchPropertiesResult clone() { try { return (DescribePatchPropertiesResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }