Example usage for com.amazonaws.services.simpledb.model DeleteAttributesRequest getDomainName

List of usage examples for com.amazonaws.services.simpledb.model DeleteAttributesRequest getDomainName

Introduction

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

Prototype


public String getDomainName() 

Source Link

Document

The name of the domain in which to perform the operation.

Usage

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

License:Apache License

@Override
public void deleteAttributes(DeleteAttributesRequest deleteAttributesRequest)
        throws AmazonServiceException, AmazonClientException {
    this.deleteAttributesRequest = deleteAttributesRequest;

    String domainName = deleteAttributesRequest.getDomainName();
    if ("MissingDomain".equals(domainName)) {
        throw new NoSuchDomainException(domainName);
    }// w w w.  j av a  2s  . c  om
}