Class MemberEntitlementsRequestBuilder
java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.memberentitlementmanagement.memberentitlements.MemberEntitlementsRequestBuilder
Provides functionality to work with Search Member Entitlements Api.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents the query parameters.static class
Request configuration object for the query parameters.Nested classes/interfaces inherited from class org.azd.abstractions.BaseRequestBuilder
BaseRequestBuilder.ProjectExcludeParameter
-
Field Summary
Fields inherited from class org.azd.abstractions.BaseRequestBuilder
accessTokenCredential, apiVersion, area, locationId, organizationUrl, serializer
-
Constructor Summary
ConstructorDescriptionMemberEntitlementsRequestBuilder
(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionsearch()
Search member entitlements and get a paginated response.search
(Consumer<MemberEntitlementsRequestBuilder.RequestConfiguration> requestConfiguration) Search member entitlements and get a paginated response.Search member entitlements and get a paginated response.searchAsync
(Consumer<MemberEntitlementsRequestBuilder.RequestConfiguration> requestConfiguration) Search member entitlements and get a paginated response.Methods inherited from class org.azd.abstractions.BaseRequestBuilder
builder
-
Constructor Details
-
MemberEntitlementsRequestBuilder
public MemberEntitlementsRequestBuilder(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values.- Parameters:
organizationUrl
- Represents organization location request url.accessTokenCredential
- Access token credential object.
-
-
Method Details
-
searchAsync
Search member entitlements and get a paginated response.- Returns:
- Search member entitlement object
SearchMemberEntitlement
- Throws:
AzDException
- Default Api exception handler.
-
searchAsync
public CompletableFuture<SearchMemberEntitlement> searchAsync(Consumer<MemberEntitlementsRequestBuilder.RequestConfiguration> requestConfiguration) throws AzDException Search member entitlements and get a paginated response.- Parameters:
requestConfiguration
- Consumer of request configuration that represents the query parameters.- Returns:
- Search member entitlement object
SearchMemberEntitlement
- Throws:
AzDException
- Default Api exception handler.
-
search
Search member entitlements and get a paginated response.- Returns:
- Search member entitlement object
SearchMemberEntitlement
- Throws:
AzDException
- Default Api exception handler.
-
search
public SearchMemberEntitlement search(Consumer<MemberEntitlementsRequestBuilder.RequestConfiguration> requestConfiguration) throws AzDException Search member entitlements and get a paginated response.- Parameters:
requestConfiguration
- Consumer of request configuration that represents the query parameters.- Returns:
- Search member entitlement object
SearchMemberEntitlement
- Throws:
AzDException
- Default Api exception handler.
-