@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonWorkMailAsyncClient extends AmazonWorkMailClient implements AmazonWorkMailAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Amazon WorkMail is a secure, managed business email and calendaring service with support for existing desktop and mobile email clients. You can access your email, contacts, and calendars using Microsoft Outlook, your browser, or their native iOS and Android email applications. You can integrate Amazon WorkMail with your existing corporate directory and control both the keys that encrypt your data and the location in which your data is stored.
The Amazon WorkMail API is designed for the following scenarios:
Listing and describing organizations
Managing users
Managing groups
Managing resources
All Amazon WorkMail API actions are Amazon-authenticated and certificate-signed. They not only require the use of the AWS SDK, but also allow for the exclusive use of IAM users and roles to help facilitate access, trust, and permission policies. By creating a role and allowing an IAM user to access the Amazon WorkMail site, the IAM user gains full administrative visibility into the entire Amazon WorkMail organization (or as set in the IAM policy). This includes, but is not limited to, the ability to create, update, and delete users, groups, and resources. This allows developers to perform the scenarios listed above, as well as give users the ability to grant access on a selective basis using the IAM model.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXassociateDelegateToResource, associateMemberToGroup, builder, createAlias, createGroup, createResource, createUser, deleteAlias, deleteGroup, deleteResource, deleteUser, deregisterFromWorkMail, describeGroup, describeOrganization, describeResource, describeUser, disassociateDelegateFromResource, disassociateMemberFromGroup, getCachedResponseMetadata, listAliases, listGroupMembers, listGroups, listOrganizations, listResourceDelegates, listResources, listUsers, registerToWorkMail, resetPassword, updatePrimaryEmailAddress, updateResourceaddRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassociateDelegateToResource, associateMemberToGroup, createAlias, createGroup, createResource, createUser, deleteAlias, deleteGroup, deleteResource, deleteUser, deregisterFromWorkMail, describeGroup, describeOrganization, describeResource, describeUser, disassociateDelegateFromResource, disassociateMemberFromGroup, getCachedResponseMetadata, listAliases, listGroupMembers, listGroups, listOrganizations, listResourceDelegates, listResources, listUsers, registerToWorkMail, resetPassword, updatePrimaryEmailAddress, updateResourcepublic static AmazonWorkMailAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateDelegateToResourceResult> associateDelegateToResourceAsync(AssociateDelegateToResourceRequest request)
AmazonWorkMailAsyncAdds a member to the resource's set of delegates.
associateDelegateToResourceAsync in interface AmazonWorkMailAsyncpublic Future<AssociateDelegateToResourceResult> associateDelegateToResourceAsync(AssociateDelegateToResourceRequest request, AsyncHandler<AssociateDelegateToResourceRequest,AssociateDelegateToResourceResult> asyncHandler)
AmazonWorkMailAsyncAdds a member to the resource's set of delegates.
associateDelegateToResourceAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AssociateMemberToGroupResult> associateMemberToGroupAsync(AssociateMemberToGroupRequest request)
AmazonWorkMailAsyncAdds a member to the group's set.
associateMemberToGroupAsync in interface AmazonWorkMailAsyncpublic Future<AssociateMemberToGroupResult> associateMemberToGroupAsync(AssociateMemberToGroupRequest request, AsyncHandler<AssociateMemberToGroupRequest,AssociateMemberToGroupResult> asyncHandler)
AmazonWorkMailAsyncAdds a member to the group's set.
associateMemberToGroupAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateAliasResult> createAliasAsync(CreateAliasRequest request)
AmazonWorkMailAsyncAdds an alias to the set of a given member of Amazon WorkMail.
createAliasAsync in interface AmazonWorkMailAsyncpublic Future<CreateAliasResult> createAliasAsync(CreateAliasRequest request, AsyncHandler<CreateAliasRequest,CreateAliasResult> asyncHandler)
AmazonWorkMailAsyncAdds an alias to the set of a given member of Amazon WorkMail.
createAliasAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateGroupResult> createGroupAsync(CreateGroupRequest request)
AmazonWorkMailAsyncCreates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
createGroupAsync in interface AmazonWorkMailAsyncpublic Future<CreateGroupResult> createGroupAsync(CreateGroupRequest request, AsyncHandler<CreateGroupRequest,CreateGroupResult> asyncHandler)
AmazonWorkMailAsyncCreates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
createGroupAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateResourceResult> createResourceAsync(CreateResourceRequest request)
AmazonWorkMailAsyncCreates a new Amazon WorkMail resource. The available types are equipment and room.
createResourceAsync in interface AmazonWorkMailAsyncpublic Future<CreateResourceResult> createResourceAsync(CreateResourceRequest request, AsyncHandler<CreateResourceRequest,CreateResourceResult> asyncHandler)
AmazonWorkMailAsyncCreates a new Amazon WorkMail resource. The available types are equipment and room.
createResourceAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateUserResult> createUserAsync(CreateUserRequest request)
AmazonWorkMailAsyncCreates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
createUserAsync in interface AmazonWorkMailAsyncpublic Future<CreateUserResult> createUserAsync(CreateUserRequest request, AsyncHandler<CreateUserRequest,CreateUserResult> asyncHandler)
AmazonWorkMailAsyncCreates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
createUserAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteAliasResult> deleteAliasAsync(DeleteAliasRequest request)
AmazonWorkMailAsyncRemove the alias from a set of aliases for a given user.
deleteAliasAsync in interface AmazonWorkMailAsyncpublic Future<DeleteAliasResult> deleteAliasAsync(DeleteAliasRequest request, AsyncHandler<DeleteAliasRequest,DeleteAliasResult> asyncHandler)
AmazonWorkMailAsyncRemove the alias from a set of aliases for a given user.
deleteAliasAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteGroupResult> deleteGroupAsync(DeleteGroupRequest request)
AmazonWorkMailAsyncDeletes a group from Amazon WorkMail.
deleteGroupAsync in interface AmazonWorkMailAsyncpublic Future<DeleteGroupResult> deleteGroupAsync(DeleteGroupRequest request, AsyncHandler<DeleteGroupRequest,DeleteGroupResult> asyncHandler)
AmazonWorkMailAsyncDeletes a group from Amazon WorkMail.
deleteGroupAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteResourceResult> deleteResourceAsync(DeleteResourceRequest request)
AmazonWorkMailAsyncDeletes the specified resource.
deleteResourceAsync in interface AmazonWorkMailAsyncpublic Future<DeleteResourceResult> deleteResourceAsync(DeleteResourceRequest request, AsyncHandler<DeleteResourceRequest,DeleteResourceResult> asyncHandler)
AmazonWorkMailAsyncDeletes the specified resource.
deleteResourceAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteUserResult> deleteUserAsync(DeleteUserRequest request)
AmazonWorkMailAsyncDeletes a user from Amazon WorkMail and all subsequent systems. The action can't be undone. The mailbox is kept as-is for a minimum of 30 days, without any means to restore it.
deleteUserAsync in interface AmazonWorkMailAsyncpublic Future<DeleteUserResult> deleteUserAsync(DeleteUserRequest request, AsyncHandler<DeleteUserRequest,DeleteUserResult> asyncHandler)
AmazonWorkMailAsyncDeletes a user from Amazon WorkMail and all subsequent systems. The action can't be undone. The mailbox is kept as-is for a minimum of 30 days, without any means to restore it.
deleteUserAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeregisterFromWorkMailResult> deregisterFromWorkMailAsync(DeregisterFromWorkMailRequest request)
AmazonWorkMailAsyncMark a user, group, or resource as no longer used in Amazon WorkMail. This action disassociates the mailbox and schedules it for clean-up. Amazon WorkMail keeps mailboxes for 30 days before they are permanently removed. The functionality in the console is Disable.
deregisterFromWorkMailAsync in interface AmazonWorkMailAsyncpublic Future<DeregisterFromWorkMailResult> deregisterFromWorkMailAsync(DeregisterFromWorkMailRequest request, AsyncHandler<DeregisterFromWorkMailRequest,DeregisterFromWorkMailResult> asyncHandler)
AmazonWorkMailAsyncMark a user, group, or resource as no longer used in Amazon WorkMail. This action disassociates the mailbox and schedules it for clean-up. Amazon WorkMail keeps mailboxes for 30 days before they are permanently removed. The functionality in the console is Disable.
deregisterFromWorkMailAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeGroupResult> describeGroupAsync(DescribeGroupRequest request)
AmazonWorkMailAsyncReturns the data available for the group.
describeGroupAsync in interface AmazonWorkMailAsyncpublic Future<DescribeGroupResult> describeGroupAsync(DescribeGroupRequest request, AsyncHandler<DescribeGroupRequest,DescribeGroupResult> asyncHandler)
AmazonWorkMailAsyncReturns the data available for the group.
describeGroupAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeOrganizationResult> describeOrganizationAsync(DescribeOrganizationRequest request)
AmazonWorkMailAsyncProvides more information regarding a given organization based on its identifier.
describeOrganizationAsync in interface AmazonWorkMailAsyncpublic Future<DescribeOrganizationResult> describeOrganizationAsync(DescribeOrganizationRequest request, AsyncHandler<DescribeOrganizationRequest,DescribeOrganizationResult> asyncHandler)
AmazonWorkMailAsyncProvides more information regarding a given organization based on its identifier.
describeOrganizationAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeResourceResult> describeResourceAsync(DescribeResourceRequest request)
AmazonWorkMailAsyncReturns the data available for the resource.
describeResourceAsync in interface AmazonWorkMailAsyncpublic Future<DescribeResourceResult> describeResourceAsync(DescribeResourceRequest request, AsyncHandler<DescribeResourceRequest,DescribeResourceResult> asyncHandler)
AmazonWorkMailAsyncReturns the data available for the resource.
describeResourceAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DescribeUserResult> describeUserAsync(DescribeUserRequest request)
AmazonWorkMailAsyncProvides information regarding the user.
describeUserAsync in interface AmazonWorkMailAsyncpublic Future<DescribeUserResult> describeUserAsync(DescribeUserRequest request, AsyncHandler<DescribeUserRequest,DescribeUserResult> asyncHandler)
AmazonWorkMailAsyncProvides information regarding the user.
describeUserAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisassociateDelegateFromResourceResult> disassociateDelegateFromResourceAsync(DisassociateDelegateFromResourceRequest request)
AmazonWorkMailAsyncRemoves a member from the resource's set of delegates.
disassociateDelegateFromResourceAsync in interface AmazonWorkMailAsyncpublic Future<DisassociateDelegateFromResourceResult> disassociateDelegateFromResourceAsync(DisassociateDelegateFromResourceRequest request, AsyncHandler<DisassociateDelegateFromResourceRequest,DisassociateDelegateFromResourceResult> asyncHandler)
AmazonWorkMailAsyncRemoves a member from the resource's set of delegates.
disassociateDelegateFromResourceAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DisassociateMemberFromGroupResult> disassociateMemberFromGroupAsync(DisassociateMemberFromGroupRequest request)
AmazonWorkMailAsyncRemoves a member from a group.
disassociateMemberFromGroupAsync in interface AmazonWorkMailAsyncpublic Future<DisassociateMemberFromGroupResult> disassociateMemberFromGroupAsync(DisassociateMemberFromGroupRequest request, AsyncHandler<DisassociateMemberFromGroupRequest,DisassociateMemberFromGroupResult> asyncHandler)
AmazonWorkMailAsyncRemoves a member from a group.
disassociateMemberFromGroupAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListAliasesResult> listAliasesAsync(ListAliasesRequest request)
AmazonWorkMailAsyncCreates a paginated call to list the aliases associated with a given entity.
listAliasesAsync in interface AmazonWorkMailAsyncpublic Future<ListAliasesResult> listAliasesAsync(ListAliasesRequest request, AsyncHandler<ListAliasesRequest,ListAliasesResult> asyncHandler)
AmazonWorkMailAsyncCreates a paginated call to list the aliases associated with a given entity.
listAliasesAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListGroupMembersResult> listGroupMembersAsync(ListGroupMembersRequest request)
AmazonWorkMailAsyncReturns an overview of the members of a group.
listGroupMembersAsync in interface AmazonWorkMailAsyncpublic Future<ListGroupMembersResult> listGroupMembersAsync(ListGroupMembersRequest request, AsyncHandler<ListGroupMembersRequest,ListGroupMembersResult> asyncHandler)
AmazonWorkMailAsyncReturns an overview of the members of a group.
listGroupMembersAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListGroupsResult> listGroupsAsync(ListGroupsRequest request)
AmazonWorkMailAsyncReturns summaries of the organization's groups.
listGroupsAsync in interface AmazonWorkMailAsyncpublic Future<ListGroupsResult> listGroupsAsync(ListGroupsRequest request, AsyncHandler<ListGroupsRequest,ListGroupsResult> asyncHandler)
AmazonWorkMailAsyncReturns summaries of the organization's groups.
listGroupsAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListOrganizationsResult> listOrganizationsAsync(ListOrganizationsRequest request)
AmazonWorkMailAsyncReturns summaries of the customer's non-deleted organizations.
listOrganizationsAsync in interface AmazonWorkMailAsyncpublic Future<ListOrganizationsResult> listOrganizationsAsync(ListOrganizationsRequest request, AsyncHandler<ListOrganizationsRequest,ListOrganizationsResult> asyncHandler)
AmazonWorkMailAsyncReturns summaries of the customer's non-deleted organizations.
listOrganizationsAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListResourceDelegatesResult> listResourceDelegatesAsync(ListResourceDelegatesRequest request)
AmazonWorkMailAsyncLists the delegates associated with a resource. Users and groups can be resource delegates and answer requests on behalf of the resource.
listResourceDelegatesAsync in interface AmazonWorkMailAsyncpublic Future<ListResourceDelegatesResult> listResourceDelegatesAsync(ListResourceDelegatesRequest request, AsyncHandler<ListResourceDelegatesRequest,ListResourceDelegatesResult> asyncHandler)
AmazonWorkMailAsyncLists the delegates associated with a resource. Users and groups can be resource delegates and answer requests on behalf of the resource.
listResourceDelegatesAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListResourcesResult> listResourcesAsync(ListResourcesRequest request)
AmazonWorkMailAsyncReturns summaries of the organization's resources.
listResourcesAsync in interface AmazonWorkMailAsyncpublic Future<ListResourcesResult> listResourcesAsync(ListResourcesRequest request, AsyncHandler<ListResourcesRequest,ListResourcesResult> asyncHandler)
AmazonWorkMailAsyncReturns summaries of the organization's resources.
listResourcesAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListUsersResult> listUsersAsync(ListUsersRequest request)
AmazonWorkMailAsyncReturns summaries of the organization's users.
listUsersAsync in interface AmazonWorkMailAsyncpublic Future<ListUsersResult> listUsersAsync(ListUsersRequest request, AsyncHandler<ListUsersRequest,ListUsersResult> asyncHandler)
AmazonWorkMailAsyncReturns summaries of the organization's users.
listUsersAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RegisterToWorkMailResult> registerToWorkMailAsync(RegisterToWorkMailRequest request)
AmazonWorkMailAsyncRegisters an existing and disabled user, group, or resource/entity for Amazon WorkMail use by associating a mailbox and calendaring capabilities. It performs no change if the entity is enabled and fails if the entity is deleted. This operation results in the accumulation of costs. For more information, see Pricing. The equivalent console functionality for this operation is Enable. Users can either be created by calling the CreateUser API or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.
registerToWorkMailAsync in interface AmazonWorkMailAsyncpublic Future<RegisterToWorkMailResult> registerToWorkMailAsync(RegisterToWorkMailRequest request, AsyncHandler<RegisterToWorkMailRequest,RegisterToWorkMailResult> asyncHandler)
AmazonWorkMailAsyncRegisters an existing and disabled user, group, or resource/entity for Amazon WorkMail use by associating a mailbox and calendaring capabilities. It performs no change if the entity is enabled and fails if the entity is deleted. This operation results in the accumulation of costs. For more information, see Pricing. The equivalent console functionality for this operation is Enable. Users can either be created by calling the CreateUser API or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.
registerToWorkMailAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ResetPasswordResult> resetPasswordAsync(ResetPasswordRequest request)
AmazonWorkMailAsyncAllows the administrator to reset the password for a user.
resetPasswordAsync in interface AmazonWorkMailAsyncpublic Future<ResetPasswordResult> resetPasswordAsync(ResetPasswordRequest request, AsyncHandler<ResetPasswordRequest,ResetPasswordResult> asyncHandler)
AmazonWorkMailAsyncAllows the administrator to reset the password for a user.
resetPasswordAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdatePrimaryEmailAddressResult> updatePrimaryEmailAddressAsync(UpdatePrimaryEmailAddressRequest request)
AmazonWorkMailAsyncUpdates the primary email for an entity. The current email is moved into the list of aliases (or swapped between an existing alias and the current primary email) and the email provided in the input is promoted as the primary.
updatePrimaryEmailAddressAsync in interface AmazonWorkMailAsyncpublic Future<UpdatePrimaryEmailAddressResult> updatePrimaryEmailAddressAsync(UpdatePrimaryEmailAddressRequest request, AsyncHandler<UpdatePrimaryEmailAddressRequest,UpdatePrimaryEmailAddressResult> asyncHandler)
AmazonWorkMailAsyncUpdates the primary email for an entity. The current email is moved into the list of aliases (or swapped between an existing alias and the current primary email) and the email provided in the input is promoted as the primary.
updatePrimaryEmailAddressAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateResourceResult> updateResourceAsync(UpdateResourceRequest request)
AmazonWorkMailAsyncUpdates data for the resource. It must be preceded by a describe call in order to have the latest information. The dataset in the request should be the one expected when performing another describe call.
updateResourceAsync in interface AmazonWorkMailAsyncpublic Future<UpdateResourceResult> updateResourceAsync(UpdateResourceRequest request, AsyncHandler<UpdateResourceRequest,UpdateResourceResult> asyncHandler)
AmazonWorkMailAsyncUpdates data for the resource. It must be preceded by a describe call in order to have the latest information. The dataset in the request should be the one expected when performing another describe call.
updateResourceAsync in interface AmazonWorkMailAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AmazonWorkMailshutdown in class AmazonWebServiceClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.