Package org.azd.graph.membershipstates
Class MembershipStatesRequestBuilder
java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.graph.membershipstates.MembershipStatesRequestBuilder
Provides functionality to work with Graph Membership States Api.
-
Nested Class Summary
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
ConstructorDescriptionMembershipStatesRequestBuilder
(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionCheck whether a subject is active or inactive.Check whether a subject is active or inactive.Methods inherited from class org.azd.abstractions.BaseRequestBuilder
builder
-
Constructor Details
-
MembershipStatesRequestBuilder
public MembershipStatesRequestBuilder(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
-
getAsync
public CompletableFuture<GraphMembershipState> getAsync(String subjectDescriptor) throws AzDException Check whether a subject is active or inactive.- Parameters:
subjectDescriptor
- Descriptor of the subject (user, group, scope, etc.) to check state of- Returns:
- Graph membership state object
GraphMembershipState
- Throws:
AzDException
- Default Api exception handler.
-
get
Check whether a subject is active or inactive.- Parameters:
subjectDescriptor
- Descriptor of the subject (user, group, scope, etc.) to check state of- Returns:
- Graph membership state object
GraphMembershipState
- Throws:
AzDException
- Default Api exception handler.
-