Class HostItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.security.threatintelligence.hosts.item.HostItemRequestBuilder
@Generated("com.microsoft.kiota")
public class HostItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the hosts property of the microsoft.graph.security.threatIntelligence entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRead the properties and relationships of a host 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
ConstructorsConstructorDescriptionHostItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newHostItemRequestBuilderand sets the default values.HostItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newHostItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the childHostPairs property of the microsoft.graph.security.host entity.Provides operations to manage the components property of the microsoft.graph.security.host entity.cookies()Provides operations to manage the cookies property of the microsoft.graph.security.host entity.voiddelete()Delete navigation property hosts for securityvoiddelete(Consumer<HostItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property hosts for securityget()Read the properties and relationships of a host object.get(Consumer<HostItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a host object.Provides operations to manage the hostPairs property of the microsoft.graph.security.host entity.Provides operations to manage the parentHostPairs property of the microsoft.graph.security.host entity.Provides operations to manage the passiveDns property of the microsoft.graph.security.host entity.Provides operations to manage the passiveDnsReverse property of the microsoft.graph.security.host entity.Update the navigation property hosts in securitypatch(Host body, Consumer<HostItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property hosts in securityports()Provides operations to manage the ports property of the microsoft.graph.security.host entity.Provides operations to manage the reputation property of the microsoft.graph.security.host entity.Provides operations to manage the sslCertificates property of the microsoft.graph.security.host entity.Provides operations to manage the subdomains property of the microsoft.graph.security.host entity.com.microsoft.kiota.RequestInformationDelete navigation property hosts for securitycom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<HostItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property hosts for securitycom.microsoft.kiota.RequestInformationRead the properties and relationships of a host object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<HostItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a host object.com.microsoft.kiota.RequestInformationUpdate the navigation property hosts in securitycom.microsoft.kiota.RequestInformationtoPatchRequestInformation(Host body, Consumer<HostItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property hosts in securitytrackers()Provides operations to manage the trackers property of the microsoft.graph.security.host entity.whois()Provides operations to manage the whois property of the microsoft.graph.security.host entity.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
HostItemRequestBuilder
public HostItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newHostItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
HostItemRequestBuilder
public HostItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newHostItemRequestBuilderand 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
-
childHostPairs
Provides operations to manage the childHostPairs property of the microsoft.graph.security.host entity.- Returns:
- a
ChildHostPairsRequestBuilder
-
components
Provides operations to manage the components property of the microsoft.graph.security.host entity.- Returns:
- a
ComponentsRequestBuilder
-
cookies
Provides operations to manage the cookies property of the microsoft.graph.security.host entity.- Returns:
- a
CookiesRequestBuilder
-
hostPairs
Provides operations to manage the hostPairs property of the microsoft.graph.security.host entity.- Returns:
- a
HostPairsRequestBuilder
-
parentHostPairs
Provides operations to manage the parentHostPairs property of the microsoft.graph.security.host entity.- Returns:
- a
ParentHostPairsRequestBuilder
-
passiveDns
Provides operations to manage the passiveDns property of the microsoft.graph.security.host entity.- Returns:
- a
PassiveDnsRequestBuilder
-
passiveDnsReverse
Provides operations to manage the passiveDnsReverse property of the microsoft.graph.security.host entity.- Returns:
- a
PassiveDnsReverseRequestBuilder
-
ports
Provides operations to manage the ports property of the microsoft.graph.security.host entity.- Returns:
- a
PortsRequestBuilder
-
reputation
Provides operations to manage the reputation property of the microsoft.graph.security.host entity.- Returns:
- a
ReputationRequestBuilder
-
sslCertificates
Provides operations to manage the sslCertificates property of the microsoft.graph.security.host entity.- Returns:
- a
SslCertificatesRequestBuilder
-
subdomains
Provides operations to manage the subdomains property of the microsoft.graph.security.host entity.- Returns:
- a
SubdomainsRequestBuilder
-
trackers
Provides operations to manage the trackers property of the microsoft.graph.security.host entity.- Returns:
- a
TrackersRequestBuilder
-
whois
Provides operations to manage the whois property of the microsoft.graph.security.host entity.- Returns:
- a
WhoisRequestBuilder
-
delete
public void delete()Delete navigation property hosts for security- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<HostItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property hosts for security- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types:- Returns:
- a
Host - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public Host get(@Nullable Consumer<HostItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types:- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Host - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the navigation property hosts in security- Parameters:
body- The request body- Returns:
- a
Host - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public Host patch(@Nonnull Host body, @Nullable Consumer<HostItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property hosts in security- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Host - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property hosts for security- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<HostItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property hosts for security- 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()Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types:- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<HostItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types:- 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 Host body) Update the navigation property hosts in security- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Host body, @Nullable Consumer<HostItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property hosts in security- 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
HostItemRequestBuilder
-