* Present if provided by caller in the request (String). *
*/ private String marker; /** ** An array of file system descriptions. *
*/ private com.amazonaws.internal.SdkInternalList
* Present if there are more file systems than returned in the response (String). You can use the
* NextMarker
in the subsequent request to fetch the descriptions.
*
* Present if provided by caller in the request (String). *
* * @param marker * Present if provided by caller in the request (String). */ public void setMarker(String marker) { this.marker = marker; } /** ** Present if provided by caller in the request (String). *
* * @return Present if provided by caller in the request (String). */ public String getMarker() { return this.marker; } /** ** Present if provided by caller in the request (String). *
* * @param marker * Present if provided by caller in the request (String). * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeFileSystemsResult withMarker(String marker) { setMarker(marker); return this; } /** ** An array of file system descriptions. *
* * @return An array of file system descriptions. */ public java.util.List* An array of file system descriptions. *
* * @param fileSystems * An array of file system descriptions. */ public void setFileSystems(java.util.Collection* An array of file system descriptions. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setFileSystems(java.util.Collection)} or {@link #withFileSystems(java.util.Collection)} if you want to * override the existing values. *
* * @param fileSystems * An array of file system descriptions. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeFileSystemsResult withFileSystems(FileSystemDescription... fileSystems) { if (this.fileSystems == null) { setFileSystems(new com.amazonaws.internal.SdkInternalList* An array of file system descriptions. *
* * @param fileSystems * An array of file system descriptions. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeFileSystemsResult withFileSystems(java.util.Collection
* Present if there are more file systems than returned in the response (String). You can use the
* NextMarker
in the subsequent request to fetch the descriptions.
*
NextMarker
in the subsequent request to fetch the descriptions.
*/
public void setNextMarker(String nextMarker) {
this.nextMarker = nextMarker;
}
/**
*
* Present if there are more file systems than returned in the response (String). You can use the
* NextMarker
in the subsequent request to fetch the descriptions.
*
NextMarker
in the subsequent request to fetch the descriptions.
*/
public String getNextMarker() {
return this.nextMarker;
}
/**
*
* Present if there are more file systems than returned in the response (String). You can use the
* NextMarker
in the subsequent request to fetch the descriptions.
*
NextMarker
in the subsequent request to fetch the descriptions.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFileSystemsResult withNextMarker(String nextMarker) {
setNextMarker(nextMarker);
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 (getMarker() != null)
sb.append("Marker: ").append(getMarker()).append(",");
if (getFileSystems() != null)
sb.append("FileSystems: ").append(getFileSystems()).append(",");
if (getNextMarker() != null)
sb.append("NextMarker: ").append(getNextMarker());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof DescribeFileSystemsResult == false)
return false;
DescribeFileSystemsResult other = (DescribeFileSystemsResult) obj;
if (other.getMarker() == null ^ this.getMarker() == null)
return false;
if (other.getMarker() != null && other.getMarker().equals(this.getMarker()) == false)
return false;
if (other.getFileSystems() == null ^ this.getFileSystems() == null)
return false;
if (other.getFileSystems() != null && other.getFileSystems().equals(this.getFileSystems()) == false)
return false;
if (other.getNextMarker() == null ^ this.getNextMarker() == null)
return false;
if (other.getNextMarker() != null && other.getNextMarker().equals(this.getNextMarker()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getMarker() == null) ? 0 : getMarker().hashCode());
hashCode = prime * hashCode + ((getFileSystems() == null) ? 0 : getFileSystems().hashCode());
hashCode = prime * hashCode + ((getNextMarker() == null) ? 0 : getNextMarker().hashCode());
return hashCode;
}
@Override
public DescribeFileSystemsResult clone() {
try {
return (DescribeFileSystemsResult) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
}
}
}