Java 类com.amazonaws.services.glacier.model.DeleteVaultRequest 实例源码

项目:aws-sdk-java-resources    文件:VaultImpl.java   
@Override
public void delete(DeleteVaultRequest request) {
    delete(request, null);
}
项目:aws-sdk-java-resources    文件:VaultImpl.java   
@Override
public void delete(DeleteVaultRequest request, ResultCapture<Void> extractor
        ) {

    resource.performAction("Delete", request, extractor);
}
项目:aws-sdk-java-resources    文件:VaultImpl.java   
@Override
public void delete(ResultCapture<Void> extractor) {
    DeleteVaultRequest request = new DeleteVaultRequest();
    delete(request, extractor);
}
项目:olfs    文件:Vault.java   
public void deleteVault() throws IOException{

        purgeVault();
        AmazonGlacierClient client = new AmazonGlacierClient(getCredentials());
        client.setEndpoint(getEndpoint());

        DeleteVaultRequest request = new DeleteVaultRequest()
            .withVaultName(getVaultName());

        client.deleteVault(request);
        System.out.println("Deleted vault: " + getVaultName());



    }
项目:aws-sdk-java-resources    文件:Vault.java   
/**
 * Performs the <code>Delete</code> action.
 *
 * <p>
 * The following request parameters will be populated from the data of this
 * <code>Vault</code> resource, and any conflicting parameter value set in
 * the request will be overridden:
 * <ul>
 *   <li>
 *     <b><code>VaultName</code></b>
 *         - mapped from the <code>Name</code> identifier.
 *   </li>
 *   <li>
 *     <b><code>AccountId</code></b>
 *         - mapped from the <code>AccountId</code> identifier.
 *   </li>
 * </ul>
 *
 * <p>
 *
 * @see DeleteVaultRequest
 */
void delete(DeleteVaultRequest request);
项目:aws-sdk-java-resources    文件:Vault.java   
/**
 * Performs the <code>Delete</code> action and use a ResultCapture to
 * retrieve the low-level client response.
 *
 * <p>
 * The following request parameters will be populated from the data of this
 * <code>Vault</code> resource, and any conflicting parameter value set in
 * the request will be overridden:
 * <ul>
 *   <li>
 *     <b><code>VaultName</code></b>
 *         - mapped from the <code>Name</code> identifier.
 *   </li>
 *   <li>
 *     <b><code>AccountId</code></b>
 *         - mapped from the <code>AccountId</code> identifier.
 *   </li>
 * </ul>
 *
 * <p>
 *
 * @see DeleteVaultRequest
 */
void delete(DeleteVaultRequest request, ResultCapture<Void> extractor);