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

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

Introduction

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

Prototype

GetAttributesResult

Source Link

Usage

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

License:Apache License

@Override
public GetAttributesResult getAttributes(GetAttributesRequest getAttributesRequest)
        throws AmazonServiceException, AmazonClientException {
    this.getAttributesRequest = getAttributesRequest;

    return new GetAttributesResult().withAttributes(new Attribute("AttributeOne", "Value One"))
            .withAttributes(new Attribute("AttributeTwo", "Value Two"));
}