@Override public DescribeTableRestoreStatusResult describeTableRestoreStatus() { return describeTableRestoreStatus(new DescribeTableRestoreStatusRequest()); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getClusterIdentifier() == null) ? 0 : getClusterIdentifier().hashCode()); hashCode = prime * hashCode + ((getTableRestoreRequestId() == null) ? 0 : getTableRestoreRequestId().hashCode()); hashCode = prime * hashCode + ((getMaxRecords() == null) ? 0 : getMaxRecords().hashCode()); hashCode = prime * hashCode + ((getMarker() == null) ? 0 : getMarker().hashCode()); return hashCode; }
/** * <p> * The Amazon Redshift cluster that the table is being restored to. * </p> * * @param clusterIdentifier * The Amazon Redshift cluster that the table is being restored to. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTableRestoreStatusRequest withClusterIdentifier(String clusterIdentifier) { setClusterIdentifier(clusterIdentifier); return this; }
/** * <p> * An optional pagination token provided by a previous <code>DescribeTableRestoreStatus</code> request. If this * parameter is specified, the response includes only records beyond the marker, up to the value specified by the * <code>MaxRecords</code> parameter. * </p> * * @param marker * An optional pagination token provided by a previous <code>DescribeTableRestoreStatus</code> request. If * this parameter is specified, the response includes only records beyond the marker, up to the value * specified by the <code>MaxRecords</code> parameter. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTableRestoreStatusRequest withMarker(String marker) { setMarker(marker); return this; }
/** * <p> * The identifier of the table restore request to return status for. If you don't specify a * <code>TableRestoreRequestId</code> value, then <code>DescribeTableRestoreStatus</code> returns the status of all * in-progress table restore requests. * </p> * * @param tableRestoreRequestId * The identifier of the table restore request to return status for. If you don't specify a * <code>TableRestoreRequestId</code> value, then <code>DescribeTableRestoreStatus</code> returns the status * of all in-progress table restore requests. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTableRestoreStatusRequest withTableRestoreRequestId(String tableRestoreRequestId) { setTableRestoreRequestId(tableRestoreRequestId); return this; }
/** * <p> * The maximum number of records to include in the response. If more records exist than the specified * <code>MaxRecords</code> value, a pagination token called a marker is included in the response so that the * remaining results can be retrieved. * </p> * * @param maxRecords * The maximum number of records to include in the response. If more records exist than the specified * <code>MaxRecords</code> value, a pagination token called a marker is included in the response so that the * remaining results can be retrieved. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTableRestoreStatusRequest withMaxRecords(Integer maxRecords) { setMaxRecords(maxRecords); return this; }
/** * <p> * An optional pagination token provided by a previous <code>DescribeTableRestoreStatus</code> request. If this * parameter is specified, the response includes only records beyond the marker, up to the value specified by the * <code>MaxRecords</code> parameter. * </p> * * @param marker * An optional pagination token provided by a previous <code>DescribeTableRestoreStatus</code> request. If * this parameter is specified, the response includes only records beyond the marker, up to the value * specified by the <code>MaxRecords</code> parameter. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTableRestoreStatusRequest withMarker(String marker) { setMarker(marker); return this; }
/** * <p> * The identifier of the table restore request to return status for. If you don't specify a * <code>TableRestoreRequestId</code> value, then <code>DescribeTableRestoreStatus</code> returns the status of all * in-progress table restore requests. * </p> * * @param tableRestoreRequestId * The identifier of the table restore request to return status for. If you don't specify a * <code>TableRestoreRequestId</code> value, then <code>DescribeTableRestoreStatus</code> returns the status * of all in-progress table restore requests. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTableRestoreStatusRequest withTableRestoreRequestId(String tableRestoreRequestId) { setTableRestoreRequestId(tableRestoreRequestId); return this; }
/** * <p> * The maximum number of records to include in the response. If more records exist than the specified * <code>MaxRecords</code> value, a pagination token called a marker is included in the response so that the * remaining results can be retrieved. * </p> * * @param maxRecords * The maximum number of records to include in the response. If more records exist than the specified * <code>MaxRecords</code> value, a pagination token called a marker is included in the response so that the * remaining results can be retrieved. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTableRestoreStatusRequest withMaxRecords(Integer maxRecords) { setMaxRecords(maxRecords); return this; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeTableRestoreStatusRequest == false) return false; DescribeTableRestoreStatusRequest other = (DescribeTableRestoreStatusRequest) obj; if (other.getClusterIdentifier() == null ^ this.getClusterIdentifier() == null) return false; if (other.getClusterIdentifier() != null && other.getClusterIdentifier().equals(this.getClusterIdentifier()) == false) return false; if (other.getTableRestoreRequestId() == null ^ this.getTableRestoreRequestId() == null) return false; if (other.getTableRestoreRequestId() != null && other.getTableRestoreRequestId().equals(this.getTableRestoreRequestId()) == false) return false; if (other.getMaxRecords() == null ^ this.getMaxRecords() == null) return false; if (other.getMaxRecords() != null && other.getMaxRecords().equals(this.getMaxRecords()) == 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; }
/** * Simplified method form for invoking the DescribeTableRestoreStatus operation. * * @see #describeTableRestoreStatusAsync(DescribeTableRestoreStatusRequest) */ @Override public java.util.concurrent.Future<DescribeTableRestoreStatusResult> describeTableRestoreStatusAsync() { return describeTableRestoreStatusAsync(new DescribeTableRestoreStatusRequest()); }
/** * <p> * The Amazon Redshift cluster that the table is being restored to. * </p> * * @param clusterIdentifier * The Amazon Redshift cluster that the table is being restored to. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTableRestoreStatusRequest withClusterIdentifier(String clusterIdentifier) { setClusterIdentifier(clusterIdentifier); 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 (getClusterIdentifier() != null) sb.append("ClusterIdentifier: ").append(getClusterIdentifier()).append(","); if (getTableRestoreRequestId() != null) sb.append("TableRestoreRequestId: ").append(getTableRestoreRequestId()).append(","); if (getMaxRecords() != null) sb.append("MaxRecords: ").append(getMaxRecords()).append(","); if (getMarker() != null) sb.append("Marker: ").append(getMarker()); sb.append("}"); return sb.toString(); }
/** * Simplified method form for invoking the DescribeTableRestoreStatus operation. * * @see #describeTableRestoreStatusAsync(DescribeTableRestoreStatusRequest) */ @Override public java.util.concurrent.Future<DescribeTableRestoreStatusResult> describeTableRestoreStatusAsync() { return describeTableRestoreStatusAsync(new DescribeTableRestoreStatusRequest()); }
public Request<DescribeTableRestoreStatusRequest> marshall(DescribeTableRestoreStatusRequest describeTableRestoreStatusRequest) { if (describeTableRestoreStatusRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } Request<DescribeTableRestoreStatusRequest> request = new DefaultRequest<DescribeTableRestoreStatusRequest>(describeTableRestoreStatusRequest, "AmazonRedshift"); request.addParameter("Action", "DescribeTableRestoreStatus"); request.addParameter("Version", "2012-12-01"); request.setHttpMethod(HttpMethodName.POST); if (describeTableRestoreStatusRequest.getClusterIdentifier() != null) { request.addParameter("ClusterIdentifier", StringUtils.fromString(describeTableRestoreStatusRequest.getClusterIdentifier())); } if (describeTableRestoreStatusRequest.getTableRestoreRequestId() != null) { request.addParameter("TableRestoreRequestId", StringUtils.fromString(describeTableRestoreStatusRequest.getTableRestoreRequestId())); } if (describeTableRestoreStatusRequest.getMaxRecords() != null) { request.addParameter("MaxRecords", StringUtils.fromInteger(describeTableRestoreStatusRequest.getMaxRecords())); } if (describeTableRestoreStatusRequest.getMarker() != null) { request.addParameter("Marker", StringUtils.fromString(describeTableRestoreStatusRequest.getMarker())); } return request; }
/** * Simplified method form for invoking the DescribeTableRestoreStatus operation with an AsyncHandler. * * @see #describeTableRestoreStatusAsync(DescribeTableRestoreStatusRequest, com.amazonaws.handlers.AsyncHandler) */ @Override public java.util.concurrent.Future<DescribeTableRestoreStatusResult> describeTableRestoreStatusAsync( com.amazonaws.handlers.AsyncHandler<DescribeTableRestoreStatusRequest, DescribeTableRestoreStatusResult> asyncHandler) { return describeTableRestoreStatusAsync(new DescribeTableRestoreStatusRequest(), asyncHandler); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getClusterIdentifier() == null) ? 0 : getClusterIdentifier().hashCode()); hashCode = prime * hashCode + ((getTableRestoreRequestId() == null) ? 0 : getTableRestoreRequestId().hashCode()); hashCode = prime * hashCode + ((getMaxRecords() == null) ? 0 : getMaxRecords().hashCode()); hashCode = prime * hashCode + ((getMarker() == null) ? 0 : getMarker().hashCode()); return hashCode; }
/** * Simplified method form for invoking the DescribeTableRestoreStatus operation with an AsyncHandler. * * @see #describeTableRestoreStatusAsync(DescribeTableRestoreStatusRequest, com.amazonaws.handlers.AsyncHandler) */ @Override public java.util.concurrent.Future<DescribeTableRestoreStatusResult> describeTableRestoreStatusAsync( com.amazonaws.handlers.AsyncHandler<DescribeTableRestoreStatusRequest, DescribeTableRestoreStatusResult> asyncHandler) { return describeTableRestoreStatusAsync(new DescribeTableRestoreStatusRequest(), asyncHandler); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeTableRestoreStatusRequest == false) return false; DescribeTableRestoreStatusRequest other = (DescribeTableRestoreStatusRequest) obj; if (other.getClusterIdentifier() == null ^ this.getClusterIdentifier() == null) return false; if (other.getClusterIdentifier() != null && other.getClusterIdentifier().equals(this.getClusterIdentifier()) == false) return false; if (other.getTableRestoreRequestId() == null ^ this.getTableRestoreRequestId() == null) return false; if (other.getTableRestoreRequestId() != null && other.getTableRestoreRequestId().equals(this.getTableRestoreRequestId()) == false) return false; if (other.getMaxRecords() == null ^ this.getMaxRecords() == null) return false; if (other.getMaxRecords() != null && other.getMaxRecords().equals(this.getMaxRecords()) == 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 DescribeTableRestoreStatusResult describeTableRestoreStatus() { return describeTableRestoreStatus(new DescribeTableRestoreStatusRequest()); }