* A list of maintenance tracks output by the DescribeClusterTracks
operation.
*
* The starting point to return a set of response tracklist records. You can retrieve the next set of response
* records by providing the returned marker value in the Marker
parameter and retrying the request.
*
* A list of maintenance tracks output by the DescribeClusterTracks
operation.
*
DescribeClusterTracks
operation.
*/
public java.util.List
* A list of maintenance tracks output by the DescribeClusterTracks
operation.
*
DescribeClusterTracks
operation.
*/
public void setMaintenanceTracks(java.util.Collection
* A list of maintenance tracks output by the DescribeClusterTracks
operation.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setMaintenanceTracks(java.util.Collection)} or {@link #withMaintenanceTracks(java.util.Collection)} if * you want to override the existing values. *
* * @param maintenanceTracks * A list of maintenance tracks output by theDescribeClusterTracks
operation.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeClusterTracksResult withMaintenanceTracks(MaintenanceTrack... maintenanceTracks) {
if (this.maintenanceTracks == null) {
setMaintenanceTracks(new com.amazonaws.internal.SdkInternalList
* A list of maintenance tracks output by the DescribeClusterTracks
operation.
*
DescribeClusterTracks
operation.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeClusterTracksResult withMaintenanceTracks(java.util.Collection
* The starting point to return a set of response tracklist records. You can retrieve the next set of response
* records by providing the returned marker value in the Marker
parameter and retrying the request.
*
Marker
parameter and retrying
* the request.
*/
public void setMarker(String marker) {
this.marker = marker;
}
/**
*
* The starting point to return a set of response tracklist records. You can retrieve the next set of response
* records by providing the returned marker value in the Marker
parameter and retrying the request.
*
Marker
parameter and retrying
* the request.
*/
public String getMarker() {
return this.marker;
}
/**
*
* The starting point to return a set of response tracklist records. You can retrieve the next set of response
* records by providing the returned marker value in the Marker
parameter and retrying the request.
*
Marker
parameter and retrying
* the request.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeClusterTracksResult withMarker(String marker) {
setMarker(marker);
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 (getMaintenanceTracks() != null)
sb.append("MaintenanceTracks: ").append(getMaintenanceTracks()).append(",");
if (getMarker() != null)
sb.append("Marker: ").append(getMarker());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof DescribeClusterTracksResult == false)
return false;
DescribeClusterTracksResult other = (DescribeClusterTracksResult) obj;
if (other.getMaintenanceTracks() == null ^ this.getMaintenanceTracks() == null)
return false;
if (other.getMaintenanceTracks() != null && other.getMaintenanceTracks().equals(this.getMaintenanceTracks()) == false)
return false;
if (other.getMarker() == null ^ this.getMarker() == null)
return false;
if (other.getMarker() != null && other.getMarker().equals(this.getMarker()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getMaintenanceTracks() == null) ? 0 : getMaintenanceTracks().hashCode());
hashCode = prime * hashCode + ((getMarker() == null) ? 0 : getMarker().hashCode());
return hashCode;
}
@Override
public DescribeClusterTracksResult clone() {
try {
return (DescribeClusterTracksResult) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
}
}
}