Example usage for com.amazonaws.services.simpledb.model ListDomainsResult ListDomainsResult

List of usage examples for com.amazonaws.services.simpledb.model ListDomainsResult ListDomainsResult

Introduction

In this page you can find the example usage for com.amazonaws.services.simpledb.model ListDomainsResult ListDomainsResult.

Prototype

ListDomainsResult

Source Link

Usage

From source file:org.apache.camel.component.aws.sdb.AmazonSDBClientMock.java

License:Apache License

@Override
public ListDomainsResult listDomains(ListDomainsRequest listDomainsRequest)
        throws AmazonServiceException, AmazonClientException {
    this.listDomainsRequest = listDomainsRequest;

    ListDomainsResult result = new ListDomainsResult();
    result.getDomainNames().add("DOMAIN1");
    result.getDomainNames().add("DOMAIN2");
    result.setNextToken("TOKEN2");
    return result;
}