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

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

Introduction

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

Prototype

public DeleteDomainRequest() 

Source Link

Document

Default constructor for DeleteDomainRequest object.

Usage

From source file:com.brighttag.agathon.dao.sdb.SdbCassandraRingDao.java

License:Apache License

@Override
public void delete(CassandraRing ring) {
    String domain = domain(ring);
    if (ringsProvider.get().contains(domain)) {
        client.deleteDomain(new DeleteDomainRequest().withDomainName(domain));
    }/*  w  ww .j a v a 2s  .c  o m*/
}

From source file:com.zotoh.cloudapi.aws.SDB.java

License:Open Source License

@Override
public void removeDatabase(String domain) throws CloudException, InternalException {
    tstEStrArg("domain-name", domain);
    _svc.getCloud().getSDB().deleteDomain(new DeleteDomainRequest().withDomainName(domain));
}

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

License:Apache License

public void execute() {
    DeleteDomainRequest request = new DeleteDomainRequest().withDomainName(determineDomainName());
    log.trace("Sending request [{}] for exchange [{}]...", request, exchange);

    this.sdbClient.deleteDomain(request);

    log.trace("Request sent");
}