Class ServicePrincipalItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.serviceprincipals.item.ServicePrincipalItemRequestBuilder
@Generated("com.microsoft.kiota")
public class ServicePrincipalItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the collection of servicePrincipal entities.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRetrieve the properties and relationships of a servicePrincipal object.classConfiguration for the request such as headers, query parameters, and middleware options.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
ConstructorsConstructorDescriptionServicePrincipalItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newServicePrincipalItemRequestBuilderand sets the default values.ServicePrincipalItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newServicePrincipalItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionaddKey()Provides operations to call the addKey method.Provides operations to call the addPassword method.Provides operations to call the addTokenSigningCertificate method.Provides operations to manage the appManagementPolicies property of the microsoft.graph.servicePrincipal entity.Provides operations to manage the appRoleAssignedTo property of the microsoft.graph.servicePrincipal entity.Provides operations to manage the appRoleAssignments property of the microsoft.graph.servicePrincipal entity.Provides operations to call the checkMemberGroups method.Provides operations to call the checkMemberObjects method.Provides operations to manage the claimsMappingPolicies property of the microsoft.graph.servicePrincipal entity.Provides operations to manage the createdObjects property of the microsoft.graph.servicePrincipal entity.Provides operations to manage the delegatedPermissionClassifications property of the microsoft.graph.servicePrincipal entity.voiddelete()Delete a servicePrincipal object.voiddelete(Consumer<ServicePrincipalItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a servicePrincipal object.Provides operations to manage the endpoints property of the microsoft.graph.servicePrincipal entity.Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.servicePrincipal entity.Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.servicePrincipal entity.get()Retrieve the properties and relationships of a servicePrincipal object.get(Consumer<ServicePrincipalItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the properties and relationships of a servicePrincipal object.Provides operations to call the getMemberGroups method.Provides operations to call the getMemberObjects method.Provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.servicePrincipal entity.memberOf()Provides operations to manage the memberOf property of the microsoft.graph.servicePrincipal entity.Provides operations to manage the oauth2PermissionGrants property of the microsoft.graph.servicePrincipal entity.Provides operations to manage the ownedObjects property of the microsoft.graph.servicePrincipal entity.owners()Provides operations to manage the owners property of the microsoft.graph.servicePrincipal entity.patch(ServicePrincipal body) Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object.patch(ServicePrincipal body, Consumer<ServicePrincipalItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object.Provides operations to manage the remoteDesktopSecurityConfiguration property of the microsoft.graph.servicePrincipal entity.Provides operations to call the removeKey method.Provides operations to call the removePassword method.restore()Provides operations to call the restore method.Provides operations to manage the synchronization property of the microsoft.graph.servicePrincipal entity.com.microsoft.kiota.RequestInformationDelete a servicePrincipal object.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<ServicePrincipalItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a servicePrincipal object.com.microsoft.kiota.RequestInformationRetrieve the properties and relationships of a servicePrincipal object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<ServicePrincipalItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the properties and relationships of a servicePrincipal object.Provides operations to manage the tokenIssuancePolicies property of the microsoft.graph.servicePrincipal entity.Provides operations to manage the tokenLifetimePolicies property of the microsoft.graph.servicePrincipal entity.com.microsoft.kiota.RequestInformationCreate a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(ServicePrincipal body, Consumer<ServicePrincipalItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object.Provides operations to manage the transitiveMemberOf property of the microsoft.graph.servicePrincipal entity.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
ServicePrincipalItemRequestBuilder
public ServicePrincipalItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newServicePrincipalItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
ServicePrincipalItemRequestBuilder
public ServicePrincipalItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newServicePrincipalItemRequestBuilderand 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
-
addKey
Provides operations to call the addKey method.- Returns:
- a
AddKeyRequestBuilder
-
addPassword
Provides operations to call the addPassword method.- Returns:
- a
AddPasswordRequestBuilder
-
addTokenSigningCertificate
Provides operations to call the addTokenSigningCertificate method.- Returns:
- a
AddTokenSigningCertificateRequestBuilder
-
appManagementPolicies
Provides operations to manage the appManagementPolicies property of the microsoft.graph.servicePrincipal entity.- Returns:
- a
AppManagementPoliciesRequestBuilder
-
appRoleAssignedTo
Provides operations to manage the appRoleAssignedTo property of the microsoft.graph.servicePrincipal entity.- Returns:
- a
AppRoleAssignedToRequestBuilder
-
appRoleAssignments
Provides operations to manage the appRoleAssignments property of the microsoft.graph.servicePrincipal entity.- Returns:
- a
AppRoleAssignmentsRequestBuilder
-
checkMemberGroups
Provides operations to call the checkMemberGroups method.- Returns:
- a
CheckMemberGroupsRequestBuilder
-
checkMemberObjects
Provides operations to call the checkMemberObjects method.- Returns:
- a
CheckMemberObjectsRequestBuilder
-
claimsMappingPolicies
Provides operations to manage the claimsMappingPolicies property of the microsoft.graph.servicePrincipal entity.- Returns:
- a
ClaimsMappingPoliciesRequestBuilder
-
createdObjects
Provides operations to manage the createdObjects property of the microsoft.graph.servicePrincipal entity.- Returns:
- a
CreatedObjectsRequestBuilder
-
delegatedPermissionClassifications
@Nonnull public DelegatedPermissionClassificationsRequestBuilder delegatedPermissionClassifications()Provides operations to manage the delegatedPermissionClassifications property of the microsoft.graph.servicePrincipal entity. -
endpoints
Provides operations to manage the endpoints property of the microsoft.graph.servicePrincipal entity.- Returns:
- a
EndpointsRequestBuilder
-
federatedIdentityCredentials
Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.servicePrincipal entity.- Returns:
- a
FederatedIdentityCredentialsRequestBuilder
-
getMemberGroups
Provides operations to call the getMemberGroups method.- Returns:
- a
GetMemberGroupsRequestBuilder
-
getMemberObjects
Provides operations to call the getMemberObjects method.- Returns:
- a
GetMemberObjectsRequestBuilder
-
homeRealmDiscoveryPolicies
Provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.servicePrincipal entity.- Returns:
- a
HomeRealmDiscoveryPoliciesRequestBuilder
-
memberOf
Provides operations to manage the memberOf property of the microsoft.graph.servicePrincipal entity.- Returns:
- a
MemberOfRequestBuilder
-
oauth2PermissionGrants
Provides operations to manage the oauth2PermissionGrants property of the microsoft.graph.servicePrincipal entity.- Returns:
- a
Oauth2PermissionGrantsRequestBuilder
-
ownedObjects
Provides operations to manage the ownedObjects property of the microsoft.graph.servicePrincipal entity.- Returns:
- a
OwnedObjectsRequestBuilder
-
owners
Provides operations to manage the owners property of the microsoft.graph.servicePrincipal entity.- Returns:
- a
OwnersRequestBuilder
-
remoteDesktopSecurityConfiguration
@Nonnull public RemoteDesktopSecurityConfigurationRequestBuilder remoteDesktopSecurityConfiguration()Provides operations to manage the remoteDesktopSecurityConfiguration property of the microsoft.graph.servicePrincipal entity. -
removeKey
Provides operations to call the removeKey method.- Returns:
- a
RemoveKeyRequestBuilder
-
removePassword
Provides operations to call the removePassword method.- Returns:
- a
RemovePasswordRequestBuilder
-
restore
Provides operations to call the restore method.- Returns:
- a
RestoreRequestBuilder
-
synchronization
Provides operations to manage the synchronization property of the microsoft.graph.servicePrincipal entity.- Returns:
- a
SynchronizationRequestBuilder
-
tokenIssuancePolicies
Provides operations to manage the tokenIssuancePolicies property of the microsoft.graph.servicePrincipal entity.- Returns:
- a
TokenIssuancePoliciesRequestBuilder
-
tokenLifetimePolicies
Provides operations to manage the tokenLifetimePolicies property of the microsoft.graph.servicePrincipal entity.- Returns:
- a
TokenLifetimePoliciesRequestBuilder
-
transitiveMemberOf
Provides operations to manage the transitiveMemberOf property of the microsoft.graph.servicePrincipal entity.- Returns:
- a
TransitiveMemberOfRequestBuilder
-
delete
public void delete()Delete a servicePrincipal object.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<ServicePrincipalItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a servicePrincipal object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
federatedIdentityCredentialsWithName
@Nonnull public FederatedIdentityCredentialsWithNameRequestBuilder federatedIdentityCredentialsWithName(@Nonnull String name) Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.servicePrincipal entity.- Parameters:
name- Alternate key of federatedIdentityCredential- Returns:
- a
FederatedIdentityCredentialsWithNameRequestBuilder
-
get
Retrieve the properties and relationships of a servicePrincipal object.- Returns:
- a
ServicePrincipal - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public ServicePrincipal get(@Nullable Consumer<ServicePrincipalItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the properties and relationships of a servicePrincipal object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
ServicePrincipal - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object.- Parameters:
body- The request body- Returns:
- a
ServicePrincipal - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public ServicePrincipal patch(@Nonnull ServicePrincipal body, @Nullable Consumer<ServicePrincipalItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
ServicePrincipal - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete a servicePrincipal object.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<ServicePrincipalItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete a servicePrincipal object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Retrieve the properties and relationships of a servicePrincipal object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<ServicePrincipalItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the properties and relationships of a servicePrincipal object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull ServicePrincipal body) Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull ServicePrincipal body, @Nullable Consumer<ServicePrincipalItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Create a new servicePrincipal object if it doesn't exist, or update the properties of an existing servicePrincipal object.- Parameters:
body- The request bodyrequestConfiguration- 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
ServicePrincipalItemRequestBuilder
-