ListDomainsOptions extends BaseHttpRequestOptions { public ListDomainsOptions nextToken(String nextToken) { checkNotNull(nextToken, "nextToken"); formParameters.put("NextToken", nextToken); return this; }  ListDomainsOptions maxNumberOfDomains(int maxNumberOfDomains); String getMaxNumberOfDomains(); ListDomainsOptions nextToken(String nextToken); String getNextToken();  }
@Test public void testNextToken() { ListDomainsOptions options = new ListDomainsOptions(); options.nextToken("test"); assertEquals(options.buildFormParameters().get("NextToken"), ImmutableList.of("test")); }
@Test public void testNextTokenStatic() { ListDomainsOptions options = nextToken("test"); assertEquals(options.buildFormParameters().get("NextToken"), ImmutableList.of("test")); }