@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getMarker() == null) ? 0 : getMarker().hashCode()); hashCode = prime * hashCode + ((getMaxItems() == null) ? 0 : getMaxItems().hashCode()); return hashCode; }
setMarker(marker); return this;
/** * <p> * The number of reusable delegation sets that you want Amazon Route 53 to return in the response to this request. * If you specify a value greater than 100, Route 53 returns only the first 100 reusable delegation sets. * </p> * * @param maxItems * The number of reusable delegation sets that you want Amazon Route 53 to return in the response to this * request. If you specify a value greater than 100, Route 53 returns only the first 100 reusable delegation * sets. * @return Returns a reference to this object so that method calls can be chained together. */ public ListReusableDelegationSetsRequest withMaxItems(String maxItems) { setMaxItems(maxItems); return this; }
/** * Simplified method form for invoking the ListReusableDelegationSets operation with an AsyncHandler. * * @see #listReusableDelegationSetsAsync(ListReusableDelegationSetsRequest, com.amazonaws.handlers.AsyncHandler) */ @Override public java.util.concurrent.Future<ListReusableDelegationSetsResult> listReusableDelegationSetsAsync( com.amazonaws.handlers.AsyncHandler<ListReusableDelegationSetsRequest, ListReusableDelegationSetsResult> asyncHandler) { return listReusableDelegationSetsAsync(new ListReusableDelegationSetsRequest(), asyncHandler); }
/** * Simplified method form for invoking the ListReusableDelegationSets operation. * * @see #listReusableDelegationSetsAsync(ListReusableDelegationSetsRequest) */ @Override public java.util.concurrent.Future<ListReusableDelegationSetsResult> listReusableDelegationSetsAsync() { return listReusableDelegationSetsAsync(new ListReusableDelegationSetsRequest()); }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ListReusableDelegationSetsRequest == false) return false; ListReusableDelegationSetsRequest other = (ListReusableDelegationSetsRequest) obj; if (other.getMarker() == null ^ this.getMarker() == null) return false; if (other.getMarker() != null && other.getMarker().equals(this.getMarker()) == false) return false; if (other.getMaxItems() == null ^ this.getMaxItems() == null) return false; if (other.getMaxItems() != null && other.getMaxItems().equals(this.getMaxItems()) == false) return false; return true; }
/** * Simplified method form for invoking the ListReusableDelegationSets operation. * * @see #listReusableDelegationSetsAsync(ListReusableDelegationSetsRequest) */ @Override public java.util.concurrent.Future<ListReusableDelegationSetsResult> listReusableDelegationSetsAsync() { return listReusableDelegationSetsAsync(new ListReusableDelegationSetsRequest()); }
/** * 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 (getMaxItems() != null) sb.append("MaxItems: ").append(getMaxItems()); sb.append("}"); return sb.toString(); }
/** * Simplified method form for invoking the ListReusableDelegationSets operation with an AsyncHandler. * * @see #listReusableDelegationSetsAsync(ListReusableDelegationSetsRequest, com.amazonaws.handlers.AsyncHandler) */ @Override public java.util.concurrent.Future<ListReusableDelegationSetsResult> listReusableDelegationSetsAsync( com.amazonaws.handlers.AsyncHandler<ListReusableDelegationSetsRequest, ListReusableDelegationSetsResult> asyncHandler) { return listReusableDelegationSetsAsync(new ListReusableDelegationSetsRequest(), asyncHandler); }
public Request<ListReusableDelegationSetsRequest> marshall(ListReusableDelegationSetsRequest listReusableDelegationSetsRequest) { if (listReusableDelegationSetsRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } Request<ListReusableDelegationSetsRequest> request = new DefaultRequest<ListReusableDelegationSetsRequest>(listReusableDelegationSetsRequest, "AmazonRoute53"); request.setHttpMethod(HttpMethodName.GET); String uriResourcePath = "/2013-04-01/delegationset"; request.setResourcePath(uriResourcePath); if (listReusableDelegationSetsRequest.getMarker() != null) { request.addParameter("marker", StringUtils.fromString(listReusableDelegationSetsRequest.getMarker())); } if (listReusableDelegationSetsRequest.getMaxItems() != null) { request.addParameter("maxitems", StringUtils.fromString(listReusableDelegationSetsRequest.getMaxItems())); } return request; }
@Override public ListReusableDelegationSetsResult listReusableDelegationSets() { return listReusableDelegationSets(new ListReusableDelegationSetsRequest()); }
@Override public ListReusableDelegationSetsResult listReusableDelegationSets() { return listReusableDelegationSets(new ListReusableDelegationSetsRequest()); }