/** * Sets the optional continuation token. Continuation token allows a list to be * continued from a specific point. This is the continuationToken that was sent in the current * {@link ListBucketInventoryConfigurationsResult}. * * @param continuationToken * The optional continuation token to associate with this request. * * @return * This object for method chaining. */ public ListBucketInventoryConfigurationsResult withContinuationToken(String continuationToken) { setContinuationToken(continuationToken); return this; }
/** * Returns the list of inventory configurations for a bucket and returns * {@link ListBucketInventoryConfigurationsResult} object for method chaining. */ public ListBucketInventoryConfigurationsResult withInventoryConfigurationList(List<InventoryConfiguration> inventoryConfigurationList) { setInventoryConfigurationList(inventoryConfigurationList); return this; }
/** * Sets the optional NextContinuationToken. * NextContinuationToken is sent when isTruncated is true meaning there are * more keys in the bucket that can be listed. The next list requests to Amazon * S3 can be continued by providing this NextContinuationToken. * * @param nextContinuationToken * The optional NextContinuationToken parameter to associate with this request. * * @return * This object for method chaining. */ public ListBucketInventoryConfigurationsResult withNextContinuationToken(String nextContinuationToken) { setNextContinuationToken(nextContinuationToken); return this; }
if (result.getInventoryConfigurationList() == null) { result.setInventoryConfigurationList(new ArrayList<InventoryConfiguration>()); result.getInventoryConfigurationList().add(currentConfiguration); currentConfiguration = null; } else if (name.equals("IsTruncated")) { result.setTruncated("true".equals(getText())); } else if (name.equals("ContinuationToken")) { result.setContinuationToken(getText()); } else if (name.equals("NextContinuationToken")) { result.setNextContinuationToken(getText());
ListBucketInventoryConfigurationsResult result = parseListBucketInventoryConfigurationsResponse(LIST_RESPONSE); assertTrue(result.isTruncated()); assertEquals("token1", result.getContinuationToken()); assertEquals("token2", result.getNextContinuationToken()); List<InventoryConfiguration> inventoryConfigurationList = result.getInventoryConfigurationList(); assertEquals(2, inventoryConfigurationList.size()); InventoryConfiguration configuration = inventoryConfigurationList.get(0);
/** * For internal use only. Sets the truncated property for * this inventory configuration listing, indicating if this is a complete listing or not and * whether the caller needs to make additional calls to S3 to get more results. * * @param isTruncated * The value <code>true</code> if the inventory configuration listing is <b>not complete</b>. * The value <code>false</code> if otherwise. * * @return * This object for method chaining. */ public ListBucketInventoryConfigurationsResult withTruncated(boolean isTruncated) { setTruncated(isTruncated); return this; }
if (in("ListInventoryConfigurationsResult")) { if (name.equals("InventoryConfiguration")) { if (result.getInventoryConfigurationList() == null) { result.setInventoryConfigurationList( new ArrayList<InventoryConfiguration>()); result.getInventoryConfigurationList().add(currentConfiguration); currentConfiguration = null; } else if (name.equals("IsTruncated")) { result.setTruncated("true".equals(getText())); } else if (name.equals("ContinuationToken")) { result.setContinuationToken(getText()); } else if (name.equals("NextContinuationToken")) { result.setNextContinuationToken(getText());
/** * For internal use only. Sets the truncated property for * this inventory configuration listing, indicating if this is a complete listing or not and * whether the caller needs to make additional calls to S3 to get more results. * * @param isTruncated * The value <code>true</code> if the inventory configuration listing is <b>not complete</b>. * The value <code>false</code> if otherwise. * * @return * This object for method chaining. */ public ListBucketInventoryConfigurationsResult withTruncated(boolean isTruncated) { setTruncated(isTruncated); return this; }
if (result.getInventoryConfigurationList() == null) { result.setInventoryConfigurationList(new ArrayList<InventoryConfiguration>()); result.getInventoryConfigurationList().add(currentConfiguration); currentConfiguration = null; } else if (name.equals("IsTruncated")) { result.setTruncated("true".equals(getText())); } else if (name.equals("ContinuationToken")) { result.setContinuationToken(getText()); } else if (name.equals("NextContinuationToken")) { result.setNextContinuationToken(getText());
/** * Returns the list of inventory configurations for a bucket and returns * {@link ListBucketInventoryConfigurationsResult} object for method chaining. */ public ListBucketInventoryConfigurationsResult withInventoryConfigurationList(List<InventoryConfiguration> inventoryConfigurationList) { setInventoryConfigurationList(inventoryConfigurationList); return this; }
/** * Sets the optional continuation token. Continuation token allows a list to be * continued from a specific point. This is the continuationToken that was sent in the current * {@link ListBucketInventoryConfigurationsResult}. * * @param continuationToken * The optional continuation token to associate with this request. * * @return * This object for method chaining. */ public ListBucketInventoryConfigurationsResult withContinuationToken(String continuationToken) { setContinuationToken(continuationToken); return this; }
/** * For internal use only. Sets the truncated property for * this inventory configuration listing, indicating if this is a complete listing or not and * whether the caller needs to make additional calls to S3 to get more results. * * @param isTruncated * The value <code>true</code> if the inventory configuration listing is <b>not complete</b>. * The value <code>false</code> if otherwise. * * @return * This object for method chaining. */ public ListBucketInventoryConfigurationsResult withTruncated(boolean isTruncated) { setTruncated(isTruncated); return this; }
/** * Sets the optional NextContinuationToken. * NextContinuationToken is sent when isTruncated is true meaning there are * more keys in the bucket that can be listed. The next list requests to Amazon * S3 can be continued by providing this NextContinuationToken. * * @param nextContinuationToken * The optional NextContinuationToken parameter to associate with this request. * * @return * This object for method chaining. */ public ListBucketInventoryConfigurationsResult withNextContinuationToken(String nextContinuationToken) { setNextContinuationToken(nextContinuationToken); return this; }
if (in("ListInventoryConfigurationsResult")) { if (name.equals("InventoryConfiguration")) { if (result.getInventoryConfigurationList() == null) { result.setInventoryConfigurationList( new ArrayList<InventoryConfiguration>()); result.getInventoryConfigurationList().add(currentConfiguration); currentConfiguration = null; } else if (name.equals("IsTruncated")) { result.setTruncated("true".equals(getText())); } else if (name.equals("ContinuationToken")) { result.setContinuationToken(getText()); } else if (name.equals("NextContinuationToken")) { result.setNextContinuationToken(getText());
/** * Returns the list of inventory configurations for a bucket and returns * {@link ListBucketInventoryConfigurationsResult} object for method chaining. */ public ListBucketInventoryConfigurationsResult withInventoryConfigurationList(List<InventoryConfiguration> inventoryConfigurationList) { setInventoryConfigurationList(inventoryConfigurationList); return this; }
/** * Sets the optional continuation token. Continuation token allows a list to be * continued from a specific point. This is the continuationToken that was sent in the current * {@link ListBucketInventoryConfigurationsResult}. * * @param continuationToken * The optional continuation token to associate with this request. * * @return * This object for method chaining. */ public ListBucketInventoryConfigurationsResult withContinuationToken(String continuationToken) { setContinuationToken(continuationToken); return this; }
/** * For internal use only. Sets the truncated property for * this inventory configuration listing, indicating if this is a complete listing or not and * whether the caller needs to make additional calls to S3 to get more results. * * @param isTruncated * The value <code>true</code> if the inventory configuration listing is <b>not complete</b>. * The value <code>false</code> if otherwise. * * @return * This object for method chaining. */ public ListBucketInventoryConfigurationsResult withTruncated(boolean isTruncated) { setTruncated(isTruncated); return this; }
/** * Sets the optional NextContinuationToken. * NextContinuationToken is sent when isTruncated is true meaning there are * more keys in the bucket that can be listed. The next list requests to Amazon * S3 can be continued by providing this NextContinuationToken. * * @param nextContinuationToken * The optional NextContinuationToken parameter to associate with this request. * * @return * This object for method chaining. */ public ListBucketInventoryConfigurationsResult withNextContinuationToken(String nextContinuationToken) { setNextContinuationToken(nextContinuationToken); return this; }
/** * Returns the list of inventory configurations for a bucket and returns * {@link ListBucketInventoryConfigurationsResult} object for method chaining. */ public ListBucketInventoryConfigurationsResult withInventoryConfigurationList(List<InventoryConfiguration> inventoryConfigurationList) { setInventoryConfigurationList(inventoryConfigurationList); return this; }
/** * Sets the optional continuation token. Continuation token allows a list to be * continued from a specific point. This is the continuationToken that was sent in the current * {@link ListBucketInventoryConfigurationsResult}. * * @param continuationToken * The optional continuation token to associate with this request. * * @return * This object for method chaining. */ public ListBucketInventoryConfigurationsResult withContinuationToken(String continuationToken) { setContinuationToken(continuationToken); return this; }