@Override public CreateVaultResult create(CreateVaultRequest request, ResultCapture<CreateVaultResult> extractor) { ActionResult result = resource.performAction("Create", request, extractor); if (result == null) return null; return (CreateVaultResult) result.getData(); }
@Override public CreateVaultResult create(ResultCapture<CreateVaultResult> extractor) { CreateVaultRequest request = new CreateVaultRequest(); return create(request, extractor); }
@Override public Vault createVault(CreateVaultRequest request, ResultCapture<CreateVaultResult> extractor) { ActionResult result = resource.performAction("CreateVault", request, extractor); if (result == null) return null; return new VaultImpl(result.getResource()); }
@Override public Vault createVault(String vaultName, ResultCapture<CreateVaultResult> extractor) { CreateVaultRequest request = new CreateVaultRequest() .withVaultName(vaultName); return createVault(request, extractor); }
@Override public Vault createVault(String accountId, String vaultName, ResultCapture<CreateVaultResult> extractor) { CreateVaultRequest request = new CreateVaultRequest() .withAccountId(accountId) .withVaultName(vaultName); return createVault(request, extractor); }
@Override public Vault createVault(CreateVaultRequest request, ResultCapture<CreateVaultResult> extractor) { ActionResult result = service.performAction("CreateVault", request, extractor); if (result == null) return null; return new VaultImpl(result.getResource()); }
@Override public CreateVaultResult create(CreateVaultRequest request) { return create(request, null); }
@Override public Vault createVault(CreateVaultRequest request) { return createVault(request, null); }
@Override public Vault createVault(ResultCapture<CreateVaultResult> extractor) { CreateVaultRequest request = new CreateVaultRequest(); return createVault(request, extractor); }
/** * Performs the <code>CreateVault</code> action. * * <p> * * @return The <code>Vault</code> resource object associated with the result * of this action. * @see CreateVaultRequest */ Vault createVault(CreateVaultRequest request);
/** * Performs the <code>CreateVault</code> action and use a ResultCapture to * retrieve the low-level client response. * * <p> * * @return The <code>Vault</code> resource object associated with the result * of this action. * @see CreateVaultRequest */ Vault createVault(CreateVaultRequest request, ResultCapture<CreateVaultResult> extractor);
/** * Performs the <code>CreateVault</code> action. * * <p> * * @return The <code>Vault</code> resource object associated with the result * of this action. * @see CreateVaultRequest */ com.amazonaws.resources.glacier.Vault createVault(CreateVaultRequest request );
/** * Performs the <code>CreateVault</code> action and use a ResultCapture to * retrieve the low-level client response. * * <p> * * @return The <code>Vault</code> resource object associated with the result * of this action. * @see CreateVaultRequest */ com.amazonaws.resources.glacier.Vault createVault(CreateVaultRequest request , ResultCapture<CreateVaultResult> extractor);
/** * Performs the <code>Create</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> * * @return The response of the low-level client operation associated with * this resource action. * @see CreateVaultRequest */ CreateVaultResult create(CreateVaultRequest request);
/** * Performs the <code>Create</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> * * @return The response of the low-level client operation associated with * this resource action. * @see CreateVaultRequest */ CreateVaultResult create(CreateVaultRequest request, ResultCapture<CreateVaultResult> extractor);