Class HomeRealmDiscoveryPoliciesRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.serviceprincipals.item.homerealmdiscoverypolicies.HomeRealmDiscoveryPoliciesRequestBuilder
@Generated("com.microsoft.kiota")
public class HomeRealmDiscoveryPoliciesRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.servicePrincipal entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassList the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionHomeRealmDiscoveryPoliciesRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newHomeRealmDiscoveryPoliciesRequestBuilderand sets the default values.HomeRealmDiscoveryPoliciesRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newHomeRealmDiscoveryPoliciesRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbyHomeRealmDiscoveryPolicyId(String homeRealmDiscoveryPolicyId) Gets an item from the com.Microsoft.Graph.servicePrincipals.item.homeRealmDiscoveryPolicies.item collectioncount()Provides operations to count the resources in the collection.get()List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal.get(Consumer<HomeRealmDiscoveryPoliciesRequestBuilder.GetRequestConfiguration> requestConfiguration) List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal.ref()Provides operations to manage the collection of servicePrincipal entities.com.microsoft.kiota.RequestInformationList the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<HomeRealmDiscoveryPoliciesRequestBuilder.GetRequestConfiguration> requestConfiguration) List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
HomeRealmDiscoveryPoliciesRequestBuilder
public HomeRealmDiscoveryPoliciesRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newHomeRealmDiscoveryPoliciesRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
HomeRealmDiscoveryPoliciesRequestBuilder
public HomeRealmDiscoveryPoliciesRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newHomeRealmDiscoveryPoliciesRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
count
Provides operations to count the resources in the collection.- Returns:
- a
CountRequestBuilder
-
ref
Provides operations to manage the collection of servicePrincipal entities.- Returns:
- a
RefRequestBuilder
-
byHomeRealmDiscoveryPolicyId
@Nonnull public HomeRealmDiscoveryPolicyItemRequestBuilder byHomeRealmDiscoveryPolicyId(@Nonnull String homeRealmDiscoveryPolicyId) Gets an item from the com.Microsoft.Graph.servicePrincipals.item.homeRealmDiscoveryPolicies.item collection- Parameters:
homeRealmDiscoveryPolicyId- The unique identifier of homeRealmDiscoveryPolicy- Returns:
- a
HomeRealmDiscoveryPolicyItemRequestBuilder
-
get
List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal.- Returns:
- a
HomeRealmDiscoveryPolicyCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public HomeRealmDiscoveryPolicyCollectionResponse get(@Nullable Consumer<HomeRealmDiscoveryPoliciesRequestBuilder.GetRequestConfiguration> requestConfiguration) List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
HomeRealmDiscoveryPolicyCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<HomeRealmDiscoveryPoliciesRequestBuilder.GetRequestConfiguration> requestConfiguration) List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
HomeRealmDiscoveryPoliciesRequestBuilder
-