Interface MemoryDbClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
MemoryDB for Redis is a fully managed, Redis-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures. MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis, a popular open source data store, enabling you to leverage Redis’ flexible and friendly data structures, APIs, and commands.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault BatchUpdateClusterResponse
batchUpdateCluster
(Consumer<BatchUpdateClusterRequest.Builder> batchUpdateClusterRequest) Apply the service update to a list of clusters supplied.default BatchUpdateClusterResponse
batchUpdateCluster
(BatchUpdateClusterRequest batchUpdateClusterRequest) Apply the service update to a list of clusters supplied.static MemoryDbClientBuilder
builder()
Create a builder that can be used to configure and create aMemoryDbClient
.default CopySnapshotResponse
copySnapshot
(Consumer<CopySnapshotRequest.Builder> copySnapshotRequest) Makes a copy of an existing snapshot.default CopySnapshotResponse
copySnapshot
(CopySnapshotRequest copySnapshotRequest) Makes a copy of an existing snapshot.static MemoryDbClient
create()
Create aMemoryDbClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateAclResponse
createACL
(Consumer<CreateAclRequest.Builder> createAclRequest) Creates an Access Control List.default CreateAclResponse
createACL
(CreateAclRequest createAclRequest) Creates an Access Control List.default CreateClusterResponse
createCluster
(Consumer<CreateClusterRequest.Builder> createClusterRequest) Creates a cluster.default CreateClusterResponse
createCluster
(CreateClusterRequest createClusterRequest) Creates a cluster.default CreateParameterGroupResponse
createParameterGroup
(Consumer<CreateParameterGroupRequest.Builder> createParameterGroupRequest) Creates a new MemoryDB parameter group.default CreateParameterGroupResponse
createParameterGroup
(CreateParameterGroupRequest createParameterGroupRequest) Creates a new MemoryDB parameter group.default CreateSnapshotResponse
createSnapshot
(Consumer<CreateSnapshotRequest.Builder> createSnapshotRequest) Creates a copy of an entire cluster at a specific moment in time.default CreateSnapshotResponse
createSnapshot
(CreateSnapshotRequest createSnapshotRequest) Creates a copy of an entire cluster at a specific moment in time.default CreateSubnetGroupResponse
createSubnetGroup
(Consumer<CreateSubnetGroupRequest.Builder> createSubnetGroupRequest) Creates a subnet group.default CreateSubnetGroupResponse
createSubnetGroup
(CreateSubnetGroupRequest createSubnetGroupRequest) Creates a subnet group.default CreateUserResponse
createUser
(Consumer<CreateUserRequest.Builder> createUserRequest) Creates a MemoryDB user.default CreateUserResponse
createUser
(CreateUserRequest createUserRequest) Creates a MemoryDB user.default DeleteAclResponse
deleteACL
(Consumer<DeleteAclRequest.Builder> deleteAclRequest) Deletes an Access Control List.default DeleteAclResponse
deleteACL
(DeleteAclRequest deleteAclRequest) Deletes an Access Control List.default DeleteClusterResponse
deleteCluster
(Consumer<DeleteClusterRequest.Builder> deleteClusterRequest) Deletes a cluster.default DeleteClusterResponse
deleteCluster
(DeleteClusterRequest deleteClusterRequest) Deletes a cluster.default DeleteParameterGroupResponse
deleteParameterGroup
(Consumer<DeleteParameterGroupRequest.Builder> deleteParameterGroupRequest) Deletes the specified parameter group.default DeleteParameterGroupResponse
deleteParameterGroup
(DeleteParameterGroupRequest deleteParameterGroupRequest) Deletes the specified parameter group.default DeleteSnapshotResponse
deleteSnapshot
(Consumer<DeleteSnapshotRequest.Builder> deleteSnapshotRequest) Deletes an existing snapshot.default DeleteSnapshotResponse
deleteSnapshot
(DeleteSnapshotRequest deleteSnapshotRequest) Deletes an existing snapshot.default DeleteSubnetGroupResponse
deleteSubnetGroup
(Consumer<DeleteSubnetGroupRequest.Builder> deleteSubnetGroupRequest) Deletes a subnet group.default DeleteSubnetGroupResponse
deleteSubnetGroup
(DeleteSubnetGroupRequest deleteSubnetGroupRequest) Deletes a subnet group.default DeleteUserResponse
deleteUser
(Consumer<DeleteUserRequest.Builder> deleteUserRequest) Deletes a user.default DeleteUserResponse
deleteUser
(DeleteUserRequest deleteUserRequest) Deletes a user.default DescribeAcLsResponse
describeACLs
(Consumer<DescribeAcLsRequest.Builder> describeAcLsRequest) Returns a list of ACLsdefault DescribeAcLsResponse
describeACLs
(DescribeAcLsRequest describeAcLsRequest) Returns a list of ACLsdefault DescribeACLsIterable
describeACLsPaginator
(Consumer<DescribeAcLsRequest.Builder> describeAcLsRequest) This is a variant ofdescribeACLs(software.amazon.awssdk.services.memorydb.model.DescribeAcLsRequest)
operation.default DescribeACLsIterable
describeACLsPaginator
(DescribeAcLsRequest describeAcLsRequest) This is a variant ofdescribeACLs(software.amazon.awssdk.services.memorydb.model.DescribeAcLsRequest)
operation.default DescribeClustersResponse
describeClusters
(Consumer<DescribeClustersRequest.Builder> describeClustersRequest) Returns information about all provisioned clusters if no cluster identifier is specified, or about a specific cluster if a cluster name is supplied.default DescribeClustersResponse
describeClusters
(DescribeClustersRequest describeClustersRequest) Returns information about all provisioned clusters if no cluster identifier is specified, or about a specific cluster if a cluster name is supplied.default DescribeClustersIterable
describeClustersPaginator
(Consumer<DescribeClustersRequest.Builder> describeClustersRequest) This is a variant ofdescribeClusters(software.amazon.awssdk.services.memorydb.model.DescribeClustersRequest)
operation.default DescribeClustersIterable
describeClustersPaginator
(DescribeClustersRequest describeClustersRequest) This is a variant ofdescribeClusters(software.amazon.awssdk.services.memorydb.model.DescribeClustersRequest)
operation.default DescribeEngineVersionsResponse
describeEngineVersions
(Consumer<DescribeEngineVersionsRequest.Builder> describeEngineVersionsRequest) Returns a list of the available Redis engine versions.default DescribeEngineVersionsResponse
describeEngineVersions
(DescribeEngineVersionsRequest describeEngineVersionsRequest) Returns a list of the available Redis engine versions.default DescribeEngineVersionsIterable
describeEngineVersionsPaginator
(Consumer<DescribeEngineVersionsRequest.Builder> describeEngineVersionsRequest) This is a variant ofdescribeEngineVersions(software.amazon.awssdk.services.memorydb.model.DescribeEngineVersionsRequest)
operation.default DescribeEngineVersionsIterable
describeEngineVersionsPaginator
(DescribeEngineVersionsRequest describeEngineVersionsRequest) This is a variant ofdescribeEngineVersions(software.amazon.awssdk.services.memorydb.model.DescribeEngineVersionsRequest)
operation.default DescribeEventsResponse
describeEvents
(Consumer<DescribeEventsRequest.Builder> describeEventsRequest) Returns events related to clusters, security groups, and parameter groups.default DescribeEventsResponse
describeEvents
(DescribeEventsRequest describeEventsRequest) Returns events related to clusters, security groups, and parameter groups.default DescribeEventsIterable
describeEventsPaginator
(Consumer<DescribeEventsRequest.Builder> describeEventsRequest) This is a variant ofdescribeEvents(software.amazon.awssdk.services.memorydb.model.DescribeEventsRequest)
operation.default DescribeEventsIterable
describeEventsPaginator
(DescribeEventsRequest describeEventsRequest) This is a variant ofdescribeEvents(software.amazon.awssdk.services.memorydb.model.DescribeEventsRequest)
operation.default DescribeParameterGroupsResponse
describeParameterGroups
(Consumer<DescribeParameterGroupsRequest.Builder> describeParameterGroupsRequest) Returns a list of parameter group descriptions.default DescribeParameterGroupsResponse
describeParameterGroups
(DescribeParameterGroupsRequest describeParameterGroupsRequest) Returns a list of parameter group descriptions.default DescribeParameterGroupsIterable
describeParameterGroupsPaginator
(Consumer<DescribeParameterGroupsRequest.Builder> describeParameterGroupsRequest) This is a variant ofdescribeParameterGroups(software.amazon.awssdk.services.memorydb.model.DescribeParameterGroupsRequest)
operation.default DescribeParameterGroupsIterable
describeParameterGroupsPaginator
(DescribeParameterGroupsRequest describeParameterGroupsRequest) This is a variant ofdescribeParameterGroups(software.amazon.awssdk.services.memorydb.model.DescribeParameterGroupsRequest)
operation.default DescribeParametersResponse
describeParameters
(Consumer<DescribeParametersRequest.Builder> describeParametersRequest) Returns the detailed parameter list for a particular parameter group.default DescribeParametersResponse
describeParameters
(DescribeParametersRequest describeParametersRequest) Returns the detailed parameter list for a particular parameter group.default DescribeParametersIterable
describeParametersPaginator
(Consumer<DescribeParametersRequest.Builder> describeParametersRequest) This is a variant ofdescribeParameters(software.amazon.awssdk.services.memorydb.model.DescribeParametersRequest)
operation.default DescribeParametersIterable
describeParametersPaginator
(DescribeParametersRequest describeParametersRequest) This is a variant ofdescribeParameters(software.amazon.awssdk.services.memorydb.model.DescribeParametersRequest)
operation.default DescribeReservedNodesResponse
describeReservedNodes
(Consumer<DescribeReservedNodesRequest.Builder> describeReservedNodesRequest) Returns information about reserved nodes for this account, or about a specified reserved node.default DescribeReservedNodesResponse
describeReservedNodes
(DescribeReservedNodesRequest describeReservedNodesRequest) Returns information about reserved nodes for this account, or about a specified reserved node.describeReservedNodesOfferings
(Consumer<DescribeReservedNodesOfferingsRequest.Builder> describeReservedNodesOfferingsRequest) Lists available reserved node offerings.describeReservedNodesOfferings
(DescribeReservedNodesOfferingsRequest describeReservedNodesOfferingsRequest) Lists available reserved node offerings.describeReservedNodesOfferingsPaginator
(Consumer<DescribeReservedNodesOfferingsRequest.Builder> describeReservedNodesOfferingsRequest) This is a variant ofdescribeReservedNodesOfferings(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesOfferingsRequest)
operation.describeReservedNodesOfferingsPaginator
(DescribeReservedNodesOfferingsRequest describeReservedNodesOfferingsRequest) This is a variant ofdescribeReservedNodesOfferings(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesOfferingsRequest)
operation.default DescribeReservedNodesIterable
describeReservedNodesPaginator
(Consumer<DescribeReservedNodesRequest.Builder> describeReservedNodesRequest) This is a variant ofdescribeReservedNodes(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesRequest)
operation.default DescribeReservedNodesIterable
describeReservedNodesPaginator
(DescribeReservedNodesRequest describeReservedNodesRequest) This is a variant ofdescribeReservedNodes(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesRequest)
operation.default DescribeServiceUpdatesResponse
describeServiceUpdates
(Consumer<DescribeServiceUpdatesRequest.Builder> describeServiceUpdatesRequest) Returns details of the service updatesdefault DescribeServiceUpdatesResponse
describeServiceUpdates
(DescribeServiceUpdatesRequest describeServiceUpdatesRequest) Returns details of the service updatesdefault DescribeServiceUpdatesIterable
describeServiceUpdatesPaginator
(Consumer<DescribeServiceUpdatesRequest.Builder> describeServiceUpdatesRequest) This is a variant ofdescribeServiceUpdates(software.amazon.awssdk.services.memorydb.model.DescribeServiceUpdatesRequest)
operation.default DescribeServiceUpdatesIterable
describeServiceUpdatesPaginator
(DescribeServiceUpdatesRequest describeServiceUpdatesRequest) This is a variant ofdescribeServiceUpdates(software.amazon.awssdk.services.memorydb.model.DescribeServiceUpdatesRequest)
operation.default DescribeSnapshotsResponse
describeSnapshots
(Consumer<DescribeSnapshotsRequest.Builder> describeSnapshotsRequest) Returns information about cluster snapshots.default DescribeSnapshotsResponse
describeSnapshots
(DescribeSnapshotsRequest describeSnapshotsRequest) Returns information about cluster snapshots.default DescribeSnapshotsIterable
describeSnapshotsPaginator
(Consumer<DescribeSnapshotsRequest.Builder> describeSnapshotsRequest) This is a variant ofdescribeSnapshots(software.amazon.awssdk.services.memorydb.model.DescribeSnapshotsRequest)
operation.default DescribeSnapshotsIterable
describeSnapshotsPaginator
(DescribeSnapshotsRequest describeSnapshotsRequest) This is a variant ofdescribeSnapshots(software.amazon.awssdk.services.memorydb.model.DescribeSnapshotsRequest)
operation.default DescribeSubnetGroupsResponse
describeSubnetGroups
(Consumer<DescribeSubnetGroupsRequest.Builder> describeSubnetGroupsRequest) Returns a list of subnet group descriptions.default DescribeSubnetGroupsResponse
describeSubnetGroups
(DescribeSubnetGroupsRequest describeSubnetGroupsRequest) Returns a list of subnet group descriptions.default DescribeSubnetGroupsIterable
describeSubnetGroupsPaginator
(Consumer<DescribeSubnetGroupsRequest.Builder> describeSubnetGroupsRequest) This is a variant ofdescribeSubnetGroups(software.amazon.awssdk.services.memorydb.model.DescribeSubnetGroupsRequest)
operation.default DescribeSubnetGroupsIterable
describeSubnetGroupsPaginator
(DescribeSubnetGroupsRequest describeSubnetGroupsRequest) This is a variant ofdescribeSubnetGroups(software.amazon.awssdk.services.memorydb.model.DescribeSubnetGroupsRequest)
operation.default DescribeUsersResponse
describeUsers
(Consumer<DescribeUsersRequest.Builder> describeUsersRequest) Returns a list of users.default DescribeUsersResponse
describeUsers
(DescribeUsersRequest describeUsersRequest) Returns a list of users.default DescribeUsersIterable
describeUsersPaginator
(Consumer<DescribeUsersRequest.Builder> describeUsersRequest) This is a variant ofdescribeUsers(software.amazon.awssdk.services.memorydb.model.DescribeUsersRequest)
operation.default DescribeUsersIterable
describeUsersPaginator
(DescribeUsersRequest describeUsersRequest) This is a variant ofdescribeUsers(software.amazon.awssdk.services.memorydb.model.DescribeUsersRequest)
operation.default FailoverShardResponse
failoverShard
(Consumer<FailoverShardRequest.Builder> failoverShardRequest) Used to failover a shard.default FailoverShardResponse
failoverShard
(FailoverShardRequest failoverShardRequest) Used to failover a shard.listAllowedNodeTypeUpdates
(Consumer<ListAllowedNodeTypeUpdatesRequest.Builder> listAllowedNodeTypeUpdatesRequest) Lists all available node types that you can scale to from your cluster's current node type.listAllowedNodeTypeUpdates
(ListAllowedNodeTypeUpdatesRequest listAllowedNodeTypeUpdatesRequest) Lists all available node types that you can scale to from your cluster's current node type.default ListTagsResponse
listTags
(Consumer<ListTagsRequest.Builder> listTagsRequest) Lists all tags currently on a named resource.default ListTagsResponse
listTags
(ListTagsRequest listTagsRequest) Lists all tags currently on a named resource.purchaseReservedNodesOffering
(Consumer<PurchaseReservedNodesOfferingRequest.Builder> purchaseReservedNodesOfferingRequest) Allows you to purchase a reserved node offering.purchaseReservedNodesOffering
(PurchaseReservedNodesOfferingRequest purchaseReservedNodesOfferingRequest) Allows you to purchase a reserved node offering.default ResetParameterGroupResponse
resetParameterGroup
(Consumer<ResetParameterGroupRequest.Builder> resetParameterGroupRequest) Modifies the parameters of a parameter group to the engine or system default value.default ResetParameterGroupResponse
resetParameterGroup
(ResetParameterGroupRequest resetParameterGroupRequest) Modifies the parameters of a parameter group to the engine or system default value.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) A tag is a key-value pair where the key and value are case-sensitive.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) A tag is a key-value pair where the key and value are case-sensitive.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Use this operation to remove tags on a resourcedefault UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Use this operation to remove tags on a resourcedefault UpdateAclResponse
updateACL
(Consumer<UpdateAclRequest.Builder> updateAclRequest) Changes the list of users that belong to the Access Control List.default UpdateAclResponse
updateACL
(UpdateAclRequest updateAclRequest) Changes the list of users that belong to the Access Control List.default UpdateClusterResponse
updateCluster
(Consumer<UpdateClusterRequest.Builder> updateClusterRequest) Modifies the settings for a cluster.default UpdateClusterResponse
updateCluster
(UpdateClusterRequest updateClusterRequest) Modifies the settings for a cluster.default UpdateParameterGroupResponse
updateParameterGroup
(Consumer<UpdateParameterGroupRequest.Builder> updateParameterGroupRequest) Updates the parameters of a parameter group.default UpdateParameterGroupResponse
updateParameterGroup
(UpdateParameterGroupRequest updateParameterGroupRequest) Updates the parameters of a parameter group.default UpdateSubnetGroupResponse
updateSubnetGroup
(Consumer<UpdateSubnetGroupRequest.Builder> updateSubnetGroupRequest) Updates a subnet group.default UpdateSubnetGroupResponse
updateSubnetGroup
(UpdateSubnetGroupRequest updateSubnetGroupRequest) Updates a subnet group.default UpdateUserResponse
updateUser
(Consumer<UpdateUserRequest.Builder> updateUserRequest) Changes user password(s) and/or access string.default UpdateUserResponse
updateUser
(UpdateUserRequest updateUserRequest) Changes user password(s) and/or access string.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
batchUpdateCluster
default BatchUpdateClusterResponse batchUpdateCluster(BatchUpdateClusterRequest batchUpdateClusterRequest) throws ServiceUpdateNotFoundException, InvalidParameterValueException, AwsServiceException, SdkClientException, MemoryDbException Apply the service update to a list of clusters supplied. For more information on service updates and applying them, see Applying the service updates.
- Parameters:
batchUpdateClusterRequest
-- Returns:
- Result of the BatchUpdateCluster operation returned by the service.
- See Also:
-
batchUpdateCluster
default BatchUpdateClusterResponse batchUpdateCluster(Consumer<BatchUpdateClusterRequest.Builder> batchUpdateClusterRequest) throws ServiceUpdateNotFoundException, InvalidParameterValueException, AwsServiceException, SdkClientException, MemoryDbException Apply the service update to a list of clusters supplied. For more information on service updates and applying them, see Applying the service updates.
This is a convenience which creates an instance of the
BatchUpdateClusterRequest.Builder
avoiding the need to create one manually viaBatchUpdateClusterRequest.builder()
- Parameters:
batchUpdateClusterRequest
- AConsumer
that will call methods onBatchUpdateClusterRequest.Builder
to create a request.- Returns:
- Result of the BatchUpdateCluster operation returned by the service.
- See Also:
-
copySnapshot
default CopySnapshotResponse copySnapshot(CopySnapshotRequest copySnapshotRequest) throws SnapshotAlreadyExistsException, SnapshotNotFoundException, SnapshotQuotaExceededException, InvalidSnapshotStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException Makes a copy of an existing snapshot.
- Parameters:
copySnapshotRequest
-- Returns:
- Result of the CopySnapshot operation returned by the service.
- See Also:
-
copySnapshot
default CopySnapshotResponse copySnapshot(Consumer<CopySnapshotRequest.Builder> copySnapshotRequest) throws SnapshotAlreadyExistsException, SnapshotNotFoundException, SnapshotQuotaExceededException, InvalidSnapshotStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException Makes a copy of an existing snapshot.
This is a convenience which creates an instance of the
CopySnapshotRequest.Builder
avoiding the need to create one manually viaCopySnapshotRequest.builder()
- Parameters:
copySnapshotRequest
- AConsumer
that will call methods onCopySnapshotRequest.Builder
to create a request.- Returns:
- Result of the CopySnapshot operation returned by the service.
- See Also:
-
createACL
default CreateAclResponse createACL(CreateAclRequest createAclRequest) throws UserNotFoundException, DuplicateUserNameException, AclAlreadyExistsException, DefaultUserRequiredException, AclQuotaExceededException, InvalidParameterValueException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException Creates an Access Control List. For more information, see Authenticating users with Access Contol Lists (ACLs).
- Parameters:
createAclRequest
-- Returns:
- Result of the CreateACL operation returned by the service.
- See Also:
-
createACL
default CreateAclResponse createACL(Consumer<CreateAclRequest.Builder> createAclRequest) throws UserNotFoundException, DuplicateUserNameException, AclAlreadyExistsException, DefaultUserRequiredException, AclQuotaExceededException, InvalidParameterValueException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException Creates an Access Control List. For more information, see Authenticating users with Access Contol Lists (ACLs).
This is a convenience which creates an instance of the
CreateAclRequest.Builder
avoiding the need to create one manually viaCreateAclRequest.builder()
- Parameters:
createAclRequest
- AConsumer
that will call methods onCreateAclRequest.Builder
to create a request.- Returns:
- Result of the CreateACL operation returned by the service.
- See Also:
-
createCluster
default CreateClusterResponse createCluster(CreateClusterRequest createClusterRequest) throws ClusterAlreadyExistsException, SubnetGroupNotFoundException, ClusterQuotaForCustomerExceededException, NodeQuotaForClusterExceededException, NodeQuotaForCustomerExceededException, ParameterGroupNotFoundException, InsufficientClusterCapacityException, InvalidVpcNetworkStateException, ServiceLinkedRoleNotFoundException, ShardsPerClusterQuotaExceededException, InvalidParameterValueException, InvalidParameterCombinationException, InvalidCredentialsException, TagQuotaPerResourceExceededException, AclNotFoundException, InvalidAclStateException, AwsServiceException, SdkClientException, MemoryDbException Creates a cluster. All nodes in the cluster run the same protocol-compliant engine software.
- Parameters:
createClusterRequest
-- Returns:
- Result of the CreateCluster operation returned by the service.
- See Also:
-
createCluster
default CreateClusterResponse createCluster(Consumer<CreateClusterRequest.Builder> createClusterRequest) throws ClusterAlreadyExistsException, SubnetGroupNotFoundException, ClusterQuotaForCustomerExceededException, NodeQuotaForClusterExceededException, NodeQuotaForCustomerExceededException, ParameterGroupNotFoundException, InsufficientClusterCapacityException, InvalidVpcNetworkStateException, ServiceLinkedRoleNotFoundException, ShardsPerClusterQuotaExceededException, InvalidParameterValueException, InvalidParameterCombinationException, InvalidCredentialsException, TagQuotaPerResourceExceededException, AclNotFoundException, InvalidAclStateException, AwsServiceException, SdkClientException, MemoryDbException Creates a cluster. All nodes in the cluster run the same protocol-compliant engine software.
This is a convenience which creates an instance of the
CreateClusterRequest.Builder
avoiding the need to create one manually viaCreateClusterRequest.builder()
- Parameters:
createClusterRequest
- AConsumer
that will call methods onCreateClusterRequest.Builder
to create a request.- Returns:
- Result of the CreateCluster operation returned by the service.
- See Also:
-
createParameterGroup
default CreateParameterGroupResponse createParameterGroup(CreateParameterGroupRequest createParameterGroupRequest) throws ParameterGroupQuotaExceededException, ParameterGroupAlreadyExistsException, InvalidParameterGroupStateException, ServiceLinkedRoleNotFoundException, TagQuotaPerResourceExceededException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Creates a new MemoryDB parameter group. A parameter group is a collection of parameters and their values that are applied to all of the nodes in any cluster. For more information, see Configuring engine parameters using parameter groups.
- Parameters:
createParameterGroupRequest
-- Returns:
- Result of the CreateParameterGroup operation returned by the service.
- See Also:
-
createParameterGroup
default CreateParameterGroupResponse createParameterGroup(Consumer<CreateParameterGroupRequest.Builder> createParameterGroupRequest) throws ParameterGroupQuotaExceededException, ParameterGroupAlreadyExistsException, InvalidParameterGroupStateException, ServiceLinkedRoleNotFoundException, TagQuotaPerResourceExceededException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Creates a new MemoryDB parameter group. A parameter group is a collection of parameters and their values that are applied to all of the nodes in any cluster. For more information, see Configuring engine parameters using parameter groups.
This is a convenience which creates an instance of the
CreateParameterGroupRequest.Builder
avoiding the need to create one manually viaCreateParameterGroupRequest.builder()
- Parameters:
createParameterGroupRequest
- AConsumer
that will call methods onCreateParameterGroupRequest.Builder
to create a request.- Returns:
- Result of the CreateParameterGroup operation returned by the service.
- See Also:
-
createSnapshot
default CreateSnapshotResponse createSnapshot(CreateSnapshotRequest createSnapshotRequest) throws SnapshotAlreadyExistsException, ClusterNotFoundException, InvalidClusterStateException, SnapshotQuotaExceededException, ServiceLinkedRoleNotFoundException, InvalidParameterCombinationException, InvalidParameterValueException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException Creates a copy of an entire cluster at a specific moment in time.
- Parameters:
createSnapshotRequest
-- Returns:
- Result of the CreateSnapshot operation returned by the service.
- See Also:
-
createSnapshot
default CreateSnapshotResponse createSnapshot(Consumer<CreateSnapshotRequest.Builder> createSnapshotRequest) throws SnapshotAlreadyExistsException, ClusterNotFoundException, InvalidClusterStateException, SnapshotQuotaExceededException, ServiceLinkedRoleNotFoundException, InvalidParameterCombinationException, InvalidParameterValueException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException Creates a copy of an entire cluster at a specific moment in time.
This is a convenience which creates an instance of the
CreateSnapshotRequest.Builder
avoiding the need to create one manually viaCreateSnapshotRequest.builder()
- Parameters:
createSnapshotRequest
- AConsumer
that will call methods onCreateSnapshotRequest.Builder
to create a request.- Returns:
- Result of the CreateSnapshot operation returned by the service.
- See Also:
-
createSubnetGroup
default CreateSubnetGroupResponse createSubnetGroup(CreateSubnetGroupRequest createSubnetGroupRequest) throws SubnetGroupAlreadyExistsException, SubnetGroupQuotaExceededException, SubnetQuotaExceededException, InvalidSubnetException, ServiceLinkedRoleNotFoundException, SubnetNotAllowedException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException Creates a subnet group. A subnet group is a collection of subnets (typically private) that you can designate for your clusters running in an Amazon Virtual Private Cloud (VPC) environment. When you create a cluster in an Amazon VPC, you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes. For more information, see Subnets and subnet groups.
- Parameters:
createSubnetGroupRequest
-- Returns:
- Result of the CreateSubnetGroup operation returned by the service.
- See Also:
-
createSubnetGroup
default CreateSubnetGroupResponse createSubnetGroup(Consumer<CreateSubnetGroupRequest.Builder> createSubnetGroupRequest) throws SubnetGroupAlreadyExistsException, SubnetGroupQuotaExceededException, SubnetQuotaExceededException, InvalidSubnetException, ServiceLinkedRoleNotFoundException, SubnetNotAllowedException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException Creates a subnet group. A subnet group is a collection of subnets (typically private) that you can designate for your clusters running in an Amazon Virtual Private Cloud (VPC) environment. When you create a cluster in an Amazon VPC, you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes. For more information, see Subnets and subnet groups.
This is a convenience which creates an instance of the
CreateSubnetGroupRequest.Builder
avoiding the need to create one manually viaCreateSubnetGroupRequest.builder()
- Parameters:
createSubnetGroupRequest
- AConsumer
that will call methods onCreateSubnetGroupRequest.Builder
to create a request.- Returns:
- Result of the CreateSubnetGroup operation returned by the service.
- See Also:
-
createUser
default CreateUserResponse createUser(CreateUserRequest createUserRequest) throws UserAlreadyExistsException, UserQuotaExceededException, DuplicateUserNameException, InvalidParameterValueException, InvalidParameterCombinationException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException Creates a MemoryDB user. For more information, see Authenticating users with Access Contol Lists (ACLs).
- Parameters:
createUserRequest
-- Returns:
- Result of the CreateUser operation returned by the service.
- See Also:
-
createUser
default CreateUserResponse createUser(Consumer<CreateUserRequest.Builder> createUserRequest) throws UserAlreadyExistsException, UserQuotaExceededException, DuplicateUserNameException, InvalidParameterValueException, InvalidParameterCombinationException, TagQuotaPerResourceExceededException, AwsServiceException, SdkClientException, MemoryDbException Creates a MemoryDB user. For more information, see Authenticating users with Access Contol Lists (ACLs).
This is a convenience which creates an instance of the
CreateUserRequest.Builder
avoiding the need to create one manually viaCreateUserRequest.builder()
- Parameters:
createUserRequest
- AConsumer
that will call methods onCreateUserRequest.Builder
to create a request.- Returns:
- Result of the CreateUser operation returned by the service.
- See Also:
-
deleteACL
default DeleteAclResponse deleteACL(DeleteAclRequest deleteAclRequest) throws AclNotFoundException, InvalidAclStateException, InvalidParameterValueException, AwsServiceException, SdkClientException, MemoryDbException Deletes an Access Control List. The ACL must first be disassociated from the cluster before it can be deleted. For more information, see Authenticating users with Access Contol Lists (ACLs).
- Parameters:
deleteAclRequest
-- Returns:
- Result of the DeleteACL operation returned by the service.
- See Also:
-
deleteACL
default DeleteAclResponse deleteACL(Consumer<DeleteAclRequest.Builder> deleteAclRequest) throws AclNotFoundException, InvalidAclStateException, InvalidParameterValueException, AwsServiceException, SdkClientException, MemoryDbException Deletes an Access Control List. The ACL must first be disassociated from the cluster before it can be deleted. For more information, see Authenticating users with Access Contol Lists (ACLs).
This is a convenience which creates an instance of the
DeleteAclRequest.Builder
avoiding the need to create one manually viaDeleteAclRequest.builder()
- Parameters:
deleteAclRequest
- AConsumer
that will call methods onDeleteAclRequest.Builder
to create a request.- Returns:
- Result of the DeleteACL operation returned by the service.
- See Also:
-
deleteCluster
default DeleteClusterResponse deleteCluster(DeleteClusterRequest deleteClusterRequest) throws ClusterNotFoundException, InvalidClusterStateException, SnapshotAlreadyExistsException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Deletes a cluster. It also deletes all associated nodes and node endpoints
- Parameters:
deleteClusterRequest
-- Returns:
- Result of the DeleteCluster operation returned by the service.
- See Also:
-
deleteCluster
default DeleteClusterResponse deleteCluster(Consumer<DeleteClusterRequest.Builder> deleteClusterRequest) throws ClusterNotFoundException, InvalidClusterStateException, SnapshotAlreadyExistsException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Deletes a cluster. It also deletes all associated nodes and node endpoints
This is a convenience which creates an instance of the
DeleteClusterRequest.Builder
avoiding the need to create one manually viaDeleteClusterRequest.builder()
- Parameters:
deleteClusterRequest
- AConsumer
that will call methods onDeleteClusterRequest.Builder
to create a request.- Returns:
- Result of the DeleteCluster operation returned by the service.
- See Also:
-
deleteParameterGroup
default DeleteParameterGroupResponse deleteParameterGroup(DeleteParameterGroupRequest deleteParameterGroupRequest) throws InvalidParameterGroupStateException, ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any clusters. You cannot delete the default parameter groups in your account.
- Parameters:
deleteParameterGroupRequest
-- Returns:
- Result of the DeleteParameterGroup operation returned by the service.
- See Also:
-
deleteParameterGroup
default DeleteParameterGroupResponse deleteParameterGroup(Consumer<DeleteParameterGroupRequest.Builder> deleteParameterGroupRequest) throws InvalidParameterGroupStateException, ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any clusters. You cannot delete the default parameter groups in your account.
This is a convenience which creates an instance of the
DeleteParameterGroupRequest.Builder
avoiding the need to create one manually viaDeleteParameterGroupRequest.builder()
- Parameters:
deleteParameterGroupRequest
- AConsumer
that will call methods onDeleteParameterGroupRequest.Builder
to create a request.- Returns:
- Result of the DeleteParameterGroup operation returned by the service.
- See Also:
-
deleteSnapshot
default DeleteSnapshotResponse deleteSnapshot(DeleteSnapshotRequest deleteSnapshotRequest) throws SnapshotNotFoundException, InvalidSnapshotStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Deletes an existing snapshot. When you receive a successful response from this operation, MemoryDB immediately begins deleting the snapshot; you cannot cancel or revert this operation.
- Parameters:
deleteSnapshotRequest
-- Returns:
- Result of the DeleteSnapshot operation returned by the service.
- See Also:
-
deleteSnapshot
default DeleteSnapshotResponse deleteSnapshot(Consumer<DeleteSnapshotRequest.Builder> deleteSnapshotRequest) throws SnapshotNotFoundException, InvalidSnapshotStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Deletes an existing snapshot. When you receive a successful response from this operation, MemoryDB immediately begins deleting the snapshot; you cannot cancel or revert this operation.
This is a convenience which creates an instance of the
DeleteSnapshotRequest.Builder
avoiding the need to create one manually viaDeleteSnapshotRequest.builder()
- Parameters:
deleteSnapshotRequest
- AConsumer
that will call methods onDeleteSnapshotRequest.Builder
to create a request.- Returns:
- Result of the DeleteSnapshot operation returned by the service.
- See Also:
-
deleteSubnetGroup
default DeleteSubnetGroupResponse deleteSubnetGroup(DeleteSubnetGroupRequest deleteSubnetGroupRequest) throws SubnetGroupInUseException, SubnetGroupNotFoundException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, MemoryDbException Deletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.
- Parameters:
deleteSubnetGroupRequest
-- Returns:
- Result of the DeleteSubnetGroup operation returned by the service.
- See Also:
-
deleteSubnetGroup
default DeleteSubnetGroupResponse deleteSubnetGroup(Consumer<DeleteSubnetGroupRequest.Builder> deleteSubnetGroupRequest) throws SubnetGroupInUseException, SubnetGroupNotFoundException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, MemoryDbException Deletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.
This is a convenience which creates an instance of the
DeleteSubnetGroupRequest.Builder
avoiding the need to create one manually viaDeleteSubnetGroupRequest.builder()
- Parameters:
deleteSubnetGroupRequest
- AConsumer
that will call methods onDeleteSubnetGroupRequest.Builder
to create a request.- Returns:
- Result of the DeleteSubnetGroup operation returned by the service.
- See Also:
-
deleteUser
default DeleteUserResponse deleteUser(DeleteUserRequest deleteUserRequest) throws InvalidUserStateException, UserNotFoundException, InvalidParameterValueException, AwsServiceException, SdkClientException, MemoryDbException Deletes a user. The user will be removed from all ACLs and in turn removed from all clusters.
- Parameters:
deleteUserRequest
-- Returns:
- Result of the DeleteUser operation returned by the service.
- See Also:
-
deleteUser
default DeleteUserResponse deleteUser(Consumer<DeleteUserRequest.Builder> deleteUserRequest) throws InvalidUserStateException, UserNotFoundException, InvalidParameterValueException, AwsServiceException, SdkClientException, MemoryDbException Deletes a user. The user will be removed from all ACLs and in turn removed from all clusters.
This is a convenience which creates an instance of the
DeleteUserRequest.Builder
avoiding the need to create one manually viaDeleteUserRequest.builder()
- Parameters:
deleteUserRequest
- AConsumer
that will call methods onDeleteUserRequest.Builder
to create a request.- Returns:
- Result of the DeleteUser operation returned by the service.
- See Also:
-
describeACLs
default DescribeAcLsResponse describeACLs(DescribeAcLsRequest describeAcLsRequest) throws AclNotFoundException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns a list of ACLs
- Parameters:
describeAcLsRequest
-- Returns:
- Result of the DescribeACLs operation returned by the service.
- See Also:
-
describeACLs
default DescribeAcLsResponse describeACLs(Consumer<DescribeAcLsRequest.Builder> describeAcLsRequest) throws AclNotFoundException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns a list of ACLs
This is a convenience which creates an instance of the
DescribeAcLsRequest.Builder
avoiding the need to create one manually viaDescribeAcLsRequest.builder()
- Parameters:
describeAcLsRequest
- AConsumer
that will call methods onDescribeAcLsRequest.Builder
to create a request.- Returns:
- Result of the DescribeACLs operation returned by the service.
- See Also:
-
describeACLsPaginator
default DescribeACLsIterable describeACLsPaginator(DescribeAcLsRequest describeAcLsRequest) throws AclNotFoundException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeACLs(software.amazon.awssdk.services.memorydb.model.DescribeAcLsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeACLsIterable responses = client.describeACLsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeACLsIterable responses = client.describeACLsPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeAcLsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeACLsIterable responses = client.describeACLsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeACLs(software.amazon.awssdk.services.memorydb.model.DescribeAcLsRequest)
operation.- Parameters:
describeAcLsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeACLsPaginator
default DescribeACLsIterable describeACLsPaginator(Consumer<DescribeAcLsRequest.Builder> describeAcLsRequest) throws AclNotFoundException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeACLs(software.amazon.awssdk.services.memorydb.model.DescribeAcLsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeACLsIterable responses = client.describeACLsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeACLsIterable responses = client.describeACLsPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeAcLsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeACLsIterable responses = client.describeACLsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeACLs(software.amazon.awssdk.services.memorydb.model.DescribeAcLsRequest)
operation.
This is a convenience which creates an instance of the
DescribeAcLsRequest.Builder
avoiding the need to create one manually viaDescribeAcLsRequest.builder()
- Parameters:
describeAcLsRequest
- AConsumer
that will call methods onDescribeAcLsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeClusters
default DescribeClustersResponse describeClusters(DescribeClustersRequest describeClustersRequest) throws ClusterNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns information about all provisioned clusters if no cluster identifier is specified, or about a specific cluster if a cluster name is supplied.
- Parameters:
describeClustersRequest
-- Returns:
- Result of the DescribeClusters operation returned by the service.
- See Also:
-
describeClusters
default DescribeClustersResponse describeClusters(Consumer<DescribeClustersRequest.Builder> describeClustersRequest) throws ClusterNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns information about all provisioned clusters if no cluster identifier is specified, or about a specific cluster if a cluster name is supplied.
This is a convenience which creates an instance of the
DescribeClustersRequest.Builder
avoiding the need to create one manually viaDescribeClustersRequest.builder()
- Parameters:
describeClustersRequest
- AConsumer
that will call methods onDescribeClustersRequest.Builder
to create a request.- Returns:
- Result of the DescribeClusters operation returned by the service.
- See Also:
-
describeClustersPaginator
default DescribeClustersIterable describeClustersPaginator(DescribeClustersRequest describeClustersRequest) throws ClusterNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeClusters(software.amazon.awssdk.services.memorydb.model.DescribeClustersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeClustersIterable responses = client.describeClustersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeClustersIterable responses = client .describeClustersPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeClustersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeClustersIterable responses = client.describeClustersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeClusters(software.amazon.awssdk.services.memorydb.model.DescribeClustersRequest)
operation.- Parameters:
describeClustersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeClustersPaginator
default DescribeClustersIterable describeClustersPaginator(Consumer<DescribeClustersRequest.Builder> describeClustersRequest) throws ClusterNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeClusters(software.amazon.awssdk.services.memorydb.model.DescribeClustersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeClustersIterable responses = client.describeClustersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeClustersIterable responses = client .describeClustersPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeClustersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeClustersIterable responses = client.describeClustersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeClusters(software.amazon.awssdk.services.memorydb.model.DescribeClustersRequest)
operation.
This is a convenience which creates an instance of the
DescribeClustersRequest.Builder
avoiding the need to create one manually viaDescribeClustersRequest.builder()
- Parameters:
describeClustersRequest
- AConsumer
that will call methods onDescribeClustersRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeEngineVersions
default DescribeEngineVersionsResponse describeEngineVersions(DescribeEngineVersionsRequest describeEngineVersionsRequest) throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns a list of the available Redis engine versions.
- Parameters:
describeEngineVersionsRequest
-- Returns:
- Result of the DescribeEngineVersions operation returned by the service.
- See Also:
-
describeEngineVersions
default DescribeEngineVersionsResponse describeEngineVersions(Consumer<DescribeEngineVersionsRequest.Builder> describeEngineVersionsRequest) throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns a list of the available Redis engine versions.
This is a convenience which creates an instance of the
DescribeEngineVersionsRequest.Builder
avoiding the need to create one manually viaDescribeEngineVersionsRequest.builder()
- Parameters:
describeEngineVersionsRequest
- AConsumer
that will call methods onDescribeEngineVersionsRequest.Builder
to create a request.- Returns:
- Result of the DescribeEngineVersions operation returned by the service.
- See Also:
-
describeEngineVersionsPaginator
default DescribeEngineVersionsIterable describeEngineVersionsPaginator(DescribeEngineVersionsRequest describeEngineVersionsRequest) throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeEngineVersions(software.amazon.awssdk.services.memorydb.model.DescribeEngineVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeEngineVersionsIterable responses = client.describeEngineVersionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeEngineVersionsIterable responses = client .describeEngineVersionsPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeEngineVersionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeEngineVersionsIterable responses = client.describeEngineVersionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEngineVersions(software.amazon.awssdk.services.memorydb.model.DescribeEngineVersionsRequest)
operation.- Parameters:
describeEngineVersionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeEngineVersionsPaginator
default DescribeEngineVersionsIterable describeEngineVersionsPaginator(Consumer<DescribeEngineVersionsRequest.Builder> describeEngineVersionsRequest) throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeEngineVersions(software.amazon.awssdk.services.memorydb.model.DescribeEngineVersionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeEngineVersionsIterable responses = client.describeEngineVersionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeEngineVersionsIterable responses = client .describeEngineVersionsPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeEngineVersionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeEngineVersionsIterable responses = client.describeEngineVersionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEngineVersions(software.amazon.awssdk.services.memorydb.model.DescribeEngineVersionsRequest)
operation.
This is a convenience which creates an instance of the
DescribeEngineVersionsRequest.Builder
avoiding the need to create one manually viaDescribeEngineVersionsRequest.builder()
- Parameters:
describeEngineVersionsRequest
- AConsumer
that will call methods onDescribeEngineVersionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeEvents
default DescribeEventsResponse describeEvents(DescribeEventsRequest describeEventsRequest) throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns events related to clusters, security groups, and parameter groups. You can obtain events specific to a particular cluster, security group, or parameter group by providing the name as a parameter. By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.
- Parameters:
describeEventsRequest
-- Returns:
- Result of the DescribeEvents operation returned by the service.
- See Also:
-
describeEvents
default DescribeEventsResponse describeEvents(Consumer<DescribeEventsRequest.Builder> describeEventsRequest) throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns events related to clusters, security groups, and parameter groups. You can obtain events specific to a particular cluster, security group, or parameter group by providing the name as a parameter. By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.
This is a convenience which creates an instance of the
DescribeEventsRequest.Builder
avoiding the need to create one manually viaDescribeEventsRequest.builder()
- Parameters:
describeEventsRequest
- AConsumer
that will call methods onDescribeEventsRequest.Builder
to create a request.- Returns:
- Result of the DescribeEvents operation returned by the service.
- See Also:
-
describeEventsPaginator
default DescribeEventsIterable describeEventsPaginator(DescribeEventsRequest describeEventsRequest) throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeEvents(software.amazon.awssdk.services.memorydb.model.DescribeEventsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeEventsIterable responses = client .describeEventsPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeEventsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEvents(software.amazon.awssdk.services.memorydb.model.DescribeEventsRequest)
operation.- Parameters:
describeEventsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeEventsPaginator
default DescribeEventsIterable describeEventsPaginator(Consumer<DescribeEventsRequest.Builder> describeEventsRequest) throws ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeEvents(software.amazon.awssdk.services.memorydb.model.DescribeEventsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeEventsIterable responses = client .describeEventsPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeEventsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeEventsIterable responses = client.describeEventsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeEvents(software.amazon.awssdk.services.memorydb.model.DescribeEventsRequest)
operation.
This is a convenience which creates an instance of the
DescribeEventsRequest.Builder
avoiding the need to create one manually viaDescribeEventsRequest.builder()
- Parameters:
describeEventsRequest
- AConsumer
that will call methods onDescribeEventsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeParameterGroups
default DescribeParameterGroupsResponse describeParameterGroups(DescribeParameterGroupsRequest describeParameterGroupsRequest) throws ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns a list of parameter group descriptions. If a parameter group name is specified, the list contains only the descriptions for that group.
- Parameters:
describeParameterGroupsRequest
-- Returns:
- Result of the DescribeParameterGroups operation returned by the service.
- See Also:
-
describeParameterGroups
default DescribeParameterGroupsResponse describeParameterGroups(Consumer<DescribeParameterGroupsRequest.Builder> describeParameterGroupsRequest) throws ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns a list of parameter group descriptions. If a parameter group name is specified, the list contains only the descriptions for that group.
This is a convenience which creates an instance of the
DescribeParameterGroupsRequest.Builder
avoiding the need to create one manually viaDescribeParameterGroupsRequest.builder()
- Parameters:
describeParameterGroupsRequest
- AConsumer
that will call methods onDescribeParameterGroupsRequest.Builder
to create a request.- Returns:
- Result of the DescribeParameterGroups operation returned by the service.
- See Also:
-
describeParameterGroupsPaginator
default DescribeParameterGroupsIterable describeParameterGroupsPaginator(DescribeParameterGroupsRequest describeParameterGroupsRequest) throws ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeParameterGroups(software.amazon.awssdk.services.memorydb.model.DescribeParameterGroupsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeParameterGroupsIterable responses = client.describeParameterGroupsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeParameterGroupsIterable responses = client .describeParameterGroupsPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeParameterGroupsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeParameterGroupsIterable responses = client.describeParameterGroupsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeParameterGroups(software.amazon.awssdk.services.memorydb.model.DescribeParameterGroupsRequest)
operation.- Parameters:
describeParameterGroupsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeParameterGroupsPaginator
default DescribeParameterGroupsIterable describeParameterGroupsPaginator(Consumer<DescribeParameterGroupsRequest.Builder> describeParameterGroupsRequest) throws ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeParameterGroups(software.amazon.awssdk.services.memorydb.model.DescribeParameterGroupsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeParameterGroupsIterable responses = client.describeParameterGroupsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeParameterGroupsIterable responses = client .describeParameterGroupsPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeParameterGroupsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeParameterGroupsIterable responses = client.describeParameterGroupsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeParameterGroups(software.amazon.awssdk.services.memorydb.model.DescribeParameterGroupsRequest)
operation.
This is a convenience which creates an instance of the
DescribeParameterGroupsRequest.Builder
avoiding the need to create one manually viaDescribeParameterGroupsRequest.builder()
- Parameters:
describeParameterGroupsRequest
- AConsumer
that will call methods onDescribeParameterGroupsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeParameters
default DescribeParametersResponse describeParameters(DescribeParametersRequest describeParametersRequest) throws ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns the detailed parameter list for a particular parameter group.
- Parameters:
describeParametersRequest
-- Returns:
- Result of the DescribeParameters operation returned by the service.
- See Also:
-
describeParameters
default DescribeParametersResponse describeParameters(Consumer<DescribeParametersRequest.Builder> describeParametersRequest) throws ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns the detailed parameter list for a particular parameter group.
This is a convenience which creates an instance of the
DescribeParametersRequest.Builder
avoiding the need to create one manually viaDescribeParametersRequest.builder()
- Parameters:
describeParametersRequest
- AConsumer
that will call methods onDescribeParametersRequest.Builder
to create a request.- Returns:
- Result of the DescribeParameters operation returned by the service.
- See Also:
-
describeParametersPaginator
default DescribeParametersIterable describeParametersPaginator(DescribeParametersRequest describeParametersRequest) throws ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeParameters(software.amazon.awssdk.services.memorydb.model.DescribeParametersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeParametersIterable responses = client.describeParametersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeParametersIterable responses = client .describeParametersPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeParametersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeParametersIterable responses = client.describeParametersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeParameters(software.amazon.awssdk.services.memorydb.model.DescribeParametersRequest)
operation.- Parameters:
describeParametersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeParametersPaginator
default DescribeParametersIterable describeParametersPaginator(Consumer<DescribeParametersRequest.Builder> describeParametersRequest) throws ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeParameters(software.amazon.awssdk.services.memorydb.model.DescribeParametersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeParametersIterable responses = client.describeParametersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeParametersIterable responses = client .describeParametersPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeParametersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeParametersIterable responses = client.describeParametersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeParameters(software.amazon.awssdk.services.memorydb.model.DescribeParametersRequest)
operation.
This is a convenience which creates an instance of the
DescribeParametersRequest.Builder
avoiding the need to create one manually viaDescribeParametersRequest.builder()
- Parameters:
describeParametersRequest
- AConsumer
that will call methods onDescribeParametersRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeReservedNodes
default DescribeReservedNodesResponse describeReservedNodes(DescribeReservedNodesRequest describeReservedNodesRequest) throws ReservedNodeNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns information about reserved nodes for this account, or about a specified reserved node.
- Parameters:
describeReservedNodesRequest
-- Returns:
- Result of the DescribeReservedNodes operation returned by the service.
- See Also:
-
describeReservedNodes
default DescribeReservedNodesResponse describeReservedNodes(Consumer<DescribeReservedNodesRequest.Builder> describeReservedNodesRequest) throws ReservedNodeNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns information about reserved nodes for this account, or about a specified reserved node.
This is a convenience which creates an instance of the
DescribeReservedNodesRequest.Builder
avoiding the need to create one manually viaDescribeReservedNodesRequest.builder()
- Parameters:
describeReservedNodesRequest
- AConsumer
that will call methods onDescribeReservedNodesRequest.Builder
to create a request.- Returns:
- Result of the DescribeReservedNodes operation returned by the service.
- See Also:
-
describeReservedNodesPaginator
default DescribeReservedNodesIterable describeReservedNodesPaginator(DescribeReservedNodesRequest describeReservedNodesRequest) throws ReservedNodeNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeReservedNodes(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeReservedNodesIterable responses = client.describeReservedNodesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeReservedNodesIterable responses = client .describeReservedNodesPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeReservedNodesIterable responses = client.describeReservedNodesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReservedNodes(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesRequest)
operation.- Parameters:
describeReservedNodesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeReservedNodesPaginator
default DescribeReservedNodesIterable describeReservedNodesPaginator(Consumer<DescribeReservedNodesRequest.Builder> describeReservedNodesRequest) throws ReservedNodeNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeReservedNodes(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeReservedNodesIterable responses = client.describeReservedNodesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeReservedNodesIterable responses = client .describeReservedNodesPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeReservedNodesIterable responses = client.describeReservedNodesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReservedNodes(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesRequest)
operation.
This is a convenience which creates an instance of the
DescribeReservedNodesRequest.Builder
avoiding the need to create one manually viaDescribeReservedNodesRequest.builder()
- Parameters:
describeReservedNodesRequest
- AConsumer
that will call methods onDescribeReservedNodesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeReservedNodesOfferings
default DescribeReservedNodesOfferingsResponse describeReservedNodesOfferings(DescribeReservedNodesOfferingsRequest describeReservedNodesOfferingsRequest) throws ReservedNodesOfferingNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Lists available reserved node offerings.
- Parameters:
describeReservedNodesOfferingsRequest
-- Returns:
- Result of the DescribeReservedNodesOfferings operation returned by the service.
- See Also:
-
describeReservedNodesOfferings
default DescribeReservedNodesOfferingsResponse describeReservedNodesOfferings(Consumer<DescribeReservedNodesOfferingsRequest.Builder> describeReservedNodesOfferingsRequest) throws ReservedNodesOfferingNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Lists available reserved node offerings.
This is a convenience which creates an instance of the
DescribeReservedNodesOfferingsRequest.Builder
avoiding the need to create one manually viaDescribeReservedNodesOfferingsRequest.builder()
- Parameters:
describeReservedNodesOfferingsRequest
- AConsumer
that will call methods onDescribeReservedNodesOfferingsRequest.Builder
to create a request.- Returns:
- Result of the DescribeReservedNodesOfferings operation returned by the service.
- See Also:
-
describeReservedNodesOfferingsPaginator
default DescribeReservedNodesOfferingsIterable describeReservedNodesOfferingsPaginator(DescribeReservedNodesOfferingsRequest describeReservedNodesOfferingsRequest) throws ReservedNodesOfferingNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeReservedNodesOfferings(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesOfferingsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeReservedNodesOfferingsIterable responses = client.describeReservedNodesOfferingsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeReservedNodesOfferingsIterable responses = client .describeReservedNodesOfferingsPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesOfferingsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeReservedNodesOfferingsIterable responses = client.describeReservedNodesOfferingsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReservedNodesOfferings(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesOfferingsRequest)
operation.- Parameters:
describeReservedNodesOfferingsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeReservedNodesOfferingsPaginator
default DescribeReservedNodesOfferingsIterable describeReservedNodesOfferingsPaginator(Consumer<DescribeReservedNodesOfferingsRequest.Builder> describeReservedNodesOfferingsRequest) throws ReservedNodesOfferingNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeReservedNodesOfferings(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesOfferingsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeReservedNodesOfferingsIterable responses = client.describeReservedNodesOfferingsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeReservedNodesOfferingsIterable responses = client .describeReservedNodesOfferingsPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesOfferingsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeReservedNodesOfferingsIterable responses = client.describeReservedNodesOfferingsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeReservedNodesOfferings(software.amazon.awssdk.services.memorydb.model.DescribeReservedNodesOfferingsRequest)
operation.
This is a convenience which creates an instance of the
DescribeReservedNodesOfferingsRequest.Builder
avoiding the need to create one manually viaDescribeReservedNodesOfferingsRequest.builder()
- Parameters:
describeReservedNodesOfferingsRequest
- AConsumer
that will call methods onDescribeReservedNodesOfferingsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeServiceUpdates
default DescribeServiceUpdatesResponse describeServiceUpdates(DescribeServiceUpdatesRequest describeServiceUpdatesRequest) throws InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns details of the service updates
- Parameters:
describeServiceUpdatesRequest
-- Returns:
- Result of the DescribeServiceUpdates operation returned by the service.
- See Also:
-
describeServiceUpdates
default DescribeServiceUpdatesResponse describeServiceUpdates(Consumer<DescribeServiceUpdatesRequest.Builder> describeServiceUpdatesRequest) throws InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns details of the service updates
This is a convenience which creates an instance of the
DescribeServiceUpdatesRequest.Builder
avoiding the need to create one manually viaDescribeServiceUpdatesRequest.builder()
- Parameters:
describeServiceUpdatesRequest
- AConsumer
that will call methods onDescribeServiceUpdatesRequest.Builder
to create a request.- Returns:
- Result of the DescribeServiceUpdates operation returned by the service.
- See Also:
-
describeServiceUpdatesPaginator
default DescribeServiceUpdatesIterable describeServiceUpdatesPaginator(DescribeServiceUpdatesRequest describeServiceUpdatesRequest) throws InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeServiceUpdates(software.amazon.awssdk.services.memorydb.model.DescribeServiceUpdatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeServiceUpdatesIterable responses = client.describeServiceUpdatesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeServiceUpdatesIterable responses = client .describeServiceUpdatesPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeServiceUpdatesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeServiceUpdatesIterable responses = client.describeServiceUpdatesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeServiceUpdates(software.amazon.awssdk.services.memorydb.model.DescribeServiceUpdatesRequest)
operation.- Parameters:
describeServiceUpdatesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeServiceUpdatesPaginator
default DescribeServiceUpdatesIterable describeServiceUpdatesPaginator(Consumer<DescribeServiceUpdatesRequest.Builder> describeServiceUpdatesRequest) throws InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeServiceUpdates(software.amazon.awssdk.services.memorydb.model.DescribeServiceUpdatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeServiceUpdatesIterable responses = client.describeServiceUpdatesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeServiceUpdatesIterable responses = client .describeServiceUpdatesPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeServiceUpdatesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeServiceUpdatesIterable responses = client.describeServiceUpdatesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeServiceUpdates(software.amazon.awssdk.services.memorydb.model.DescribeServiceUpdatesRequest)
operation.
This is a convenience which creates an instance of the
DescribeServiceUpdatesRequest.Builder
avoiding the need to create one manually viaDescribeServiceUpdatesRequest.builder()
- Parameters:
describeServiceUpdatesRequest
- AConsumer
that will call methods onDescribeServiceUpdatesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeSnapshots
default DescribeSnapshotsResponse describeSnapshots(DescribeSnapshotsRequest describeSnapshotsRequest) throws SnapshotNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns information about cluster snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot, or just the snapshots associated with a particular cluster.
- Parameters:
describeSnapshotsRequest
-- Returns:
- Result of the DescribeSnapshots operation returned by the service.
- See Also:
-
describeSnapshots
default DescribeSnapshotsResponse describeSnapshots(Consumer<DescribeSnapshotsRequest.Builder> describeSnapshotsRequest) throws SnapshotNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns information about cluster snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot, or just the snapshots associated with a particular cluster.
This is a convenience which creates an instance of the
DescribeSnapshotsRequest.Builder
avoiding the need to create one manually viaDescribeSnapshotsRequest.builder()
- Parameters:
describeSnapshotsRequest
- AConsumer
that will call methods onDescribeSnapshotsRequest.Builder
to create a request.- Returns:
- Result of the DescribeSnapshots operation returned by the service.
- See Also:
-
describeSnapshotsPaginator
default DescribeSnapshotsIterable describeSnapshotsPaginator(DescribeSnapshotsRequest describeSnapshotsRequest) throws SnapshotNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeSnapshots(software.amazon.awssdk.services.memorydb.model.DescribeSnapshotsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeSnapshotsIterable responses = client.describeSnapshotsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeSnapshotsIterable responses = client .describeSnapshotsPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeSnapshotsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeSnapshotsIterable responses = client.describeSnapshotsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSnapshots(software.amazon.awssdk.services.memorydb.model.DescribeSnapshotsRequest)
operation.- Parameters:
describeSnapshotsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeSnapshotsPaginator
default DescribeSnapshotsIterable describeSnapshotsPaginator(Consumer<DescribeSnapshotsRequest.Builder> describeSnapshotsRequest) throws SnapshotNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeSnapshots(software.amazon.awssdk.services.memorydb.model.DescribeSnapshotsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeSnapshotsIterable responses = client.describeSnapshotsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeSnapshotsIterable responses = client .describeSnapshotsPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeSnapshotsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeSnapshotsIterable responses = client.describeSnapshotsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSnapshots(software.amazon.awssdk.services.memorydb.model.DescribeSnapshotsRequest)
operation.
This is a convenience which creates an instance of the
DescribeSnapshotsRequest.Builder
avoiding the need to create one manually viaDescribeSnapshotsRequest.builder()
- Parameters:
describeSnapshotsRequest
- AConsumer
that will call methods onDescribeSnapshotsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeSubnetGroups
default DescribeSubnetGroupsResponse describeSubnetGroups(DescribeSubnetGroupsRequest describeSubnetGroupsRequest) throws SubnetGroupNotFoundException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, MemoryDbException Returns a list of subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group.
- Parameters:
describeSubnetGroupsRequest
-- Returns:
- Result of the DescribeSubnetGroups operation returned by the service.
- See Also:
-
describeSubnetGroups
default DescribeSubnetGroupsResponse describeSubnetGroups(Consumer<DescribeSubnetGroupsRequest.Builder> describeSubnetGroupsRequest) throws SubnetGroupNotFoundException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, MemoryDbException Returns a list of subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group.
This is a convenience which creates an instance of the
DescribeSubnetGroupsRequest.Builder
avoiding the need to create one manually viaDescribeSubnetGroupsRequest.builder()
- Parameters:
describeSubnetGroupsRequest
- AConsumer
that will call methods onDescribeSubnetGroupsRequest.Builder
to create a request.- Returns:
- Result of the DescribeSubnetGroups operation returned by the service.
- See Also:
-
describeSubnetGroupsPaginator
default DescribeSubnetGroupsIterable describeSubnetGroupsPaginator(DescribeSubnetGroupsRequest describeSubnetGroupsRequest) throws SubnetGroupNotFoundException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeSubnetGroups(software.amazon.awssdk.services.memorydb.model.DescribeSubnetGroupsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeSubnetGroupsIterable responses = client.describeSubnetGroupsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeSubnetGroupsIterable responses = client .describeSubnetGroupsPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeSubnetGroupsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeSubnetGroupsIterable responses = client.describeSubnetGroupsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSubnetGroups(software.amazon.awssdk.services.memorydb.model.DescribeSubnetGroupsRequest)
operation.- Parameters:
describeSubnetGroupsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeSubnetGroupsPaginator
default DescribeSubnetGroupsIterable describeSubnetGroupsPaginator(Consumer<DescribeSubnetGroupsRequest.Builder> describeSubnetGroupsRequest) throws SubnetGroupNotFoundException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeSubnetGroups(software.amazon.awssdk.services.memorydb.model.DescribeSubnetGroupsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeSubnetGroupsIterable responses = client.describeSubnetGroupsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeSubnetGroupsIterable responses = client .describeSubnetGroupsPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeSubnetGroupsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeSubnetGroupsIterable responses = client.describeSubnetGroupsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeSubnetGroups(software.amazon.awssdk.services.memorydb.model.DescribeSubnetGroupsRequest)
operation.
This is a convenience which creates an instance of the
DescribeSubnetGroupsRequest.Builder
avoiding the need to create one manually viaDescribeSubnetGroupsRequest.builder()
- Parameters:
describeSubnetGroupsRequest
- AConsumer
that will call methods onDescribeSubnetGroupsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeUsers
default DescribeUsersResponse describeUsers(DescribeUsersRequest describeUsersRequest) throws UserNotFoundException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns a list of users.
- Parameters:
describeUsersRequest
-- Returns:
- Result of the DescribeUsers operation returned by the service.
- See Also:
-
describeUsers
default DescribeUsersResponse describeUsers(Consumer<DescribeUsersRequest.Builder> describeUsersRequest) throws UserNotFoundException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Returns a list of users.
This is a convenience which creates an instance of the
DescribeUsersRequest.Builder
avoiding the need to create one manually viaDescribeUsersRequest.builder()
- Parameters:
describeUsersRequest
- AConsumer
that will call methods onDescribeUsersRequest.Builder
to create a request.- Returns:
- Result of the DescribeUsers operation returned by the service.
- See Also:
-
describeUsersPaginator
default DescribeUsersIterable describeUsersPaginator(DescribeUsersRequest describeUsersRequest) throws UserNotFoundException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeUsers(software.amazon.awssdk.services.memorydb.model.DescribeUsersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeUsersIterable responses = client.describeUsersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeUsersIterable responses = client.describeUsersPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeUsersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeUsersIterable responses = client.describeUsersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeUsers(software.amazon.awssdk.services.memorydb.model.DescribeUsersRequest)
operation.- Parameters:
describeUsersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeUsersPaginator
default DescribeUsersIterable describeUsersPaginator(Consumer<DescribeUsersRequest.Builder> describeUsersRequest) throws UserNotFoundException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException This is a variant of
describeUsers(software.amazon.awssdk.services.memorydb.model.DescribeUsersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.memorydb.paginators.DescribeUsersIterable responses = client.describeUsersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.memorydb.paginators.DescribeUsersIterable responses = client.describeUsersPaginator(request); for (software.amazon.awssdk.services.memorydb.model.DescribeUsersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.memorydb.paginators.DescribeUsersIterable responses = client.describeUsersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeUsers(software.amazon.awssdk.services.memorydb.model.DescribeUsersRequest)
operation.
This is a convenience which creates an instance of the
DescribeUsersRequest.Builder
avoiding the need to create one manually viaDescribeUsersRequest.builder()
- Parameters:
describeUsersRequest
- AConsumer
that will call methods onDescribeUsersRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
failoverShard
default FailoverShardResponse failoverShard(FailoverShardRequest failoverShardRequest) throws ApiCallRateForCustomerExceededException, InvalidClusterStateException, ShardNotFoundException, ClusterNotFoundException, TestFailoverNotAvailableException, InvalidKmsKeyException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Used to failover a shard. This API is designed for testing the behavior of your application in case of MemoryDB failover. It is not designed to be used as a production-level tool for initiating a failover to overcome a problem you may have with the cluster. Moreover, in certain conditions such as large scale operational events, Amazon may block this API.
- Parameters:
failoverShardRequest
-- Returns:
- Result of the FailoverShard operation returned by the service.
- See Also:
-
failoverShard
default FailoverShardResponse failoverShard(Consumer<FailoverShardRequest.Builder> failoverShardRequest) throws ApiCallRateForCustomerExceededException, InvalidClusterStateException, ShardNotFoundException, ClusterNotFoundException, TestFailoverNotAvailableException, InvalidKmsKeyException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Used to failover a shard. This API is designed for testing the behavior of your application in case of MemoryDB failover. It is not designed to be used as a production-level tool for initiating a failover to overcome a problem you may have with the cluster. Moreover, in certain conditions such as large scale operational events, Amazon may block this API.
This is a convenience which creates an instance of the
FailoverShardRequest.Builder
avoiding the need to create one manually viaFailoverShardRequest.builder()
- Parameters:
failoverShardRequest
- AConsumer
that will call methods onFailoverShardRequest.Builder
to create a request.- Returns:
- Result of the FailoverShard operation returned by the service.
- See Also:
-
listAllowedNodeTypeUpdates
default ListAllowedNodeTypeUpdatesResponse listAllowedNodeTypeUpdates(ListAllowedNodeTypeUpdatesRequest listAllowedNodeTypeUpdatesRequest) throws ClusterNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterCombinationException, InvalidParameterValueException, AwsServiceException, SdkClientException, MemoryDbException Lists all available node types that you can scale to from your cluster's current node type. When you use the UpdateCluster operation to scale your cluster, the value of the NodeType parameter must be one of the node types returned by this operation.
- Parameters:
listAllowedNodeTypeUpdatesRequest
-- Returns:
- Result of the ListAllowedNodeTypeUpdates operation returned by the service.
- See Also:
-
listAllowedNodeTypeUpdates
default ListAllowedNodeTypeUpdatesResponse listAllowedNodeTypeUpdates(Consumer<ListAllowedNodeTypeUpdatesRequest.Builder> listAllowedNodeTypeUpdatesRequest) throws ClusterNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterCombinationException, InvalidParameterValueException, AwsServiceException, SdkClientException, MemoryDbException Lists all available node types that you can scale to from your cluster's current node type. When you use the UpdateCluster operation to scale your cluster, the value of the NodeType parameter must be one of the node types returned by this operation.
This is a convenience which creates an instance of the
ListAllowedNodeTypeUpdatesRequest.Builder
avoiding the need to create one manually viaListAllowedNodeTypeUpdatesRequest.builder()
- Parameters:
listAllowedNodeTypeUpdatesRequest
- AConsumer
that will call methods onListAllowedNodeTypeUpdatesRequest.Builder
to create a request.- Returns:
- Result of the ListAllowedNodeTypeUpdates operation returned by the service.
- See Also:
-
listTags
default ListTagsResponse listTags(ListTagsRequest listTagsRequest) throws ClusterNotFoundException, InvalidClusterStateException, ParameterGroupNotFoundException, SubnetGroupNotFoundException, SnapshotNotFoundException, InvalidArnException, ServiceLinkedRoleNotFoundException, UserNotFoundException, AclNotFoundException, AwsServiceException, SdkClientException, MemoryDbException Lists all tags currently on a named resource. A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track your MemoryDB resources. For more information, see Tagging your MemoryDB resources
- Parameters:
listTagsRequest
-- Returns:
- Result of the ListTags operation returned by the service.
- See Also:
-
listTags
default ListTagsResponse listTags(Consumer<ListTagsRequest.Builder> listTagsRequest) throws ClusterNotFoundException, InvalidClusterStateException, ParameterGroupNotFoundException, SubnetGroupNotFoundException, SnapshotNotFoundException, InvalidArnException, ServiceLinkedRoleNotFoundException, UserNotFoundException, AclNotFoundException, AwsServiceException, SdkClientException, MemoryDbException Lists all tags currently on a named resource. A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track your MemoryDB resources. For more information, see Tagging your MemoryDB resources
This is a convenience which creates an instance of the
ListTagsRequest.Builder
avoiding the need to create one manually viaListTagsRequest.builder()
- Parameters:
listTagsRequest
- AConsumer
that will call methods onListTagsRequest.Builder
to create a request.- Returns:
- Result of the ListTags operation returned by the service.
- See Also:
-
purchaseReservedNodesOffering
default PurchaseReservedNodesOfferingResponse purchaseReservedNodesOffering(PurchaseReservedNodesOfferingRequest purchaseReservedNodesOfferingRequest) throws ReservedNodesOfferingNotFoundException, ReservedNodeAlreadyExistsException, ReservedNodeQuotaExceededException, ServiceLinkedRoleNotFoundException, TagQuotaPerResourceExceededException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Allows you to purchase a reserved node offering. Reserved nodes are not eligible for cancellation and are non-refundable.
- Parameters:
purchaseReservedNodesOfferingRequest
-- Returns:
- Result of the PurchaseReservedNodesOffering operation returned by the service.
- See Also:
-
purchaseReservedNodesOffering
default PurchaseReservedNodesOfferingResponse purchaseReservedNodesOffering(Consumer<PurchaseReservedNodesOfferingRequest.Builder> purchaseReservedNodesOfferingRequest) throws ReservedNodesOfferingNotFoundException, ReservedNodeAlreadyExistsException, ReservedNodeQuotaExceededException, ServiceLinkedRoleNotFoundException, TagQuotaPerResourceExceededException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Allows you to purchase a reserved node offering. Reserved nodes are not eligible for cancellation and are non-refundable.
This is a convenience which creates an instance of the
PurchaseReservedNodesOfferingRequest.Builder
avoiding the need to create one manually viaPurchaseReservedNodesOfferingRequest.builder()
- Parameters:
purchaseReservedNodesOfferingRequest
- AConsumer
that will call methods onPurchaseReservedNodesOfferingRequest.Builder
to create a request.- Returns:
- Result of the PurchaseReservedNodesOffering operation returned by the service.
- See Also:
-
resetParameterGroup
default ResetParameterGroupResponse resetParameterGroup(ResetParameterGroupRequest resetParameterGroupRequest) throws InvalidParameterGroupStateException, ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Modifies the parameters of a parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire parameter group, specify the AllParameters and ParameterGroupName parameters.
- Parameters:
resetParameterGroupRequest
-- Returns:
- Result of the ResetParameterGroup operation returned by the service.
- See Also:
-
resetParameterGroup
default ResetParameterGroupResponse resetParameterGroup(Consumer<ResetParameterGroupRequest.Builder> resetParameterGroupRequest) throws InvalidParameterGroupStateException, ParameterGroupNotFoundException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Modifies the parameters of a parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire parameter group, specify the AllParameters and ParameterGroupName parameters.
This is a convenience which creates an instance of the
ResetParameterGroupRequest.Builder
avoiding the need to create one manually viaResetParameterGroupRequest.builder()
- Parameters:
resetParameterGroupRequest
- AConsumer
that will call methods onResetParameterGroupRequest.Builder
to create a request.- Returns:
- Result of the ResetParameterGroup operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ClusterNotFoundException, ParameterGroupNotFoundException, SubnetGroupNotFoundException, InvalidClusterStateException, SnapshotNotFoundException, UserNotFoundException, AclNotFoundException, TagQuotaPerResourceExceededException, InvalidArnException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, MemoryDbException A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track all your MemoryDB resources. When you add or remove tags on clusters, those actions will be replicated to all nodes in the cluster. For more information, see Resource-level permissions.
For example, you can use cost-allocation tags to your MemoryDB resources, Amazon generates a cost allocation report as a comma-separated value (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories (such as cost centers, application names, or owners) to organize your costs across multiple services. For more information, see Using Cost Allocation Tags.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ClusterNotFoundException, ParameterGroupNotFoundException, SubnetGroupNotFoundException, InvalidClusterStateException, SnapshotNotFoundException, UserNotFoundException, AclNotFoundException, TagQuotaPerResourceExceededException, InvalidArnException, ServiceLinkedRoleNotFoundException, AwsServiceException, SdkClientException, MemoryDbException A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track all your MemoryDB resources. When you add or remove tags on clusters, those actions will be replicated to all nodes in the cluster. For more information, see Resource-level permissions.
For example, you can use cost-allocation tags to your MemoryDB resources, Amazon generates a cost allocation report as a comma-separated value (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories (such as cost centers, application names, or owners) to organize your costs across multiple services. For more information, see Using Cost Allocation Tags.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ClusterNotFoundException, InvalidClusterStateException, ParameterGroupNotFoundException, SubnetGroupNotFoundException, SnapshotNotFoundException, InvalidArnException, TagNotFoundException, ServiceLinkedRoleNotFoundException, UserNotFoundException, AclNotFoundException, AwsServiceException, SdkClientException, MemoryDbException Use this operation to remove tags on a resource
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ClusterNotFoundException, InvalidClusterStateException, ParameterGroupNotFoundException, SubnetGroupNotFoundException, SnapshotNotFoundException, InvalidArnException, TagNotFoundException, ServiceLinkedRoleNotFoundException, UserNotFoundException, AclNotFoundException, AwsServiceException, SdkClientException, MemoryDbException Use this operation to remove tags on a resource
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateACL
default UpdateAclResponse updateACL(UpdateAclRequest updateAclRequest) throws AclNotFoundException, UserNotFoundException, DuplicateUserNameException, DefaultUserRequiredException, InvalidAclStateException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Changes the list of users that belong to the Access Control List.
- Parameters:
updateAclRequest
-- Returns:
- Result of the UpdateACL operation returned by the service.
- See Also:
-
updateACL
default UpdateAclResponse updateACL(Consumer<UpdateAclRequest.Builder> updateAclRequest) throws AclNotFoundException, UserNotFoundException, DuplicateUserNameException, DefaultUserRequiredException, InvalidAclStateException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Changes the list of users that belong to the Access Control List.
This is a convenience which creates an instance of the
UpdateAclRequest.Builder
avoiding the need to create one manually viaUpdateAclRequest.builder()
- Parameters:
updateAclRequest
- AConsumer
that will call methods onUpdateAclRequest.Builder
to create a request.- Returns:
- Result of the UpdateACL operation returned by the service.
- See Also:
-
updateCluster
default UpdateClusterResponse updateCluster(UpdateClusterRequest updateClusterRequest) throws ClusterNotFoundException, InvalidClusterStateException, InvalidNodeStateException, ParameterGroupNotFoundException, InvalidVpcNetworkStateException, ServiceLinkedRoleNotFoundException, InvalidKmsKeyException, NodeQuotaForClusterExceededException, ClusterQuotaForCustomerExceededException, ShardsPerClusterQuotaExceededException, NodeQuotaForCustomerExceededException, NoOperationException, InvalidAclStateException, AclNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Modifies the settings for a cluster. You can use this operation to change one or more cluster configuration settings by specifying the settings and the new values.
- Parameters:
updateClusterRequest
-- Returns:
- Result of the UpdateCluster operation returned by the service.
- See Also:
-
updateCluster
default UpdateClusterResponse updateCluster(Consumer<UpdateClusterRequest.Builder> updateClusterRequest) throws ClusterNotFoundException, InvalidClusterStateException, InvalidNodeStateException, ParameterGroupNotFoundException, InvalidVpcNetworkStateException, ServiceLinkedRoleNotFoundException, InvalidKmsKeyException, NodeQuotaForClusterExceededException, ClusterQuotaForCustomerExceededException, ShardsPerClusterQuotaExceededException, NodeQuotaForCustomerExceededException, NoOperationException, InvalidAclStateException, AclNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Modifies the settings for a cluster. You can use this operation to change one or more cluster configuration settings by specifying the settings and the new values.
This is a convenience which creates an instance of the
UpdateClusterRequest.Builder
avoiding the need to create one manually viaUpdateClusterRequest.builder()
- Parameters:
updateClusterRequest
- AConsumer
that will call methods onUpdateClusterRequest.Builder
to create a request.- Returns:
- Result of the UpdateCluster operation returned by the service.
- See Also:
-
updateParameterGroup
default UpdateParameterGroupResponse updateParameterGroup(UpdateParameterGroupRequest updateParameterGroupRequest) throws ParameterGroupNotFoundException, InvalidParameterGroupStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Updates the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
- Parameters:
updateParameterGroupRequest
-- Returns:
- Result of the UpdateParameterGroup operation returned by the service.
- See Also:
-
updateParameterGroup
default UpdateParameterGroupResponse updateParameterGroup(Consumer<UpdateParameterGroupRequest.Builder> updateParameterGroupRequest) throws ParameterGroupNotFoundException, InvalidParameterGroupStateException, ServiceLinkedRoleNotFoundException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Updates the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.
This is a convenience which creates an instance of the
UpdateParameterGroupRequest.Builder
avoiding the need to create one manually viaUpdateParameterGroupRequest.builder()
- Parameters:
updateParameterGroupRequest
- AConsumer
that will call methods onUpdateParameterGroupRequest.Builder
to create a request.- Returns:
- Result of the UpdateParameterGroup operation returned by the service.
- See Also:
-
updateSubnetGroup
default UpdateSubnetGroupResponse updateSubnetGroup(UpdateSubnetGroupRequest updateSubnetGroupRequest) throws SubnetGroupNotFoundException, SubnetQuotaExceededException, SubnetInUseException, InvalidSubnetException, ServiceLinkedRoleNotFoundException, SubnetNotAllowedException, AwsServiceException, SdkClientException, MemoryDbException Updates a subnet group. For more information, see Updating a subnet group
- Parameters:
updateSubnetGroupRequest
-- Returns:
- Result of the UpdateSubnetGroup operation returned by the service.
- See Also:
-
updateSubnetGroup
default UpdateSubnetGroupResponse updateSubnetGroup(Consumer<UpdateSubnetGroupRequest.Builder> updateSubnetGroupRequest) throws SubnetGroupNotFoundException, SubnetQuotaExceededException, SubnetInUseException, InvalidSubnetException, ServiceLinkedRoleNotFoundException, SubnetNotAllowedException, AwsServiceException, SdkClientException, MemoryDbException Updates a subnet group. For more information, see Updating a subnet group
This is a convenience which creates an instance of the
UpdateSubnetGroupRequest.Builder
avoiding the need to create one manually viaUpdateSubnetGroupRequest.builder()
- Parameters:
updateSubnetGroupRequest
- AConsumer
that will call methods onUpdateSubnetGroupRequest.Builder
to create a request.- Returns:
- Result of the UpdateSubnetGroup operation returned by the service.
- See Also:
-
updateUser
default UpdateUserResponse updateUser(UpdateUserRequest updateUserRequest) throws UserNotFoundException, InvalidUserStateException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Changes user password(s) and/or access string.
- Parameters:
updateUserRequest
-- Returns:
- Result of the UpdateUser operation returned by the service.
- See Also:
-
updateUser
default UpdateUserResponse updateUser(Consumer<UpdateUserRequest.Builder> updateUserRequest) throws UserNotFoundException, InvalidUserStateException, InvalidParameterValueException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, MemoryDbException Changes user password(s) and/or access string.
This is a convenience which creates an instance of the
UpdateUserRequest.Builder
avoiding the need to create one manually viaUpdateUserRequest.builder()
- Parameters:
updateUserRequest
- AConsumer
that will call methods onUpdateUserRequest.Builder
to create a request.- Returns:
- Result of the UpdateUser operation returned by the service.
- See Also:
-
create
Create aMemoryDbClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aMemoryDbClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-