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.
  • Constructor Details

    • HostItemRequestBuilder

      public HostItemRequestBuilder(@Nonnull HashMap<String,Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new HostItemRequestBuilder and sets the default values.
      Parameters:
      pathParameters - Path parameters for the request
      requestAdapter - The request adapter to use to execute the requests.
    • HostItemRequestBuilder

      public HostItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter)
      Instantiates a new HostItemRequestBuilder and 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

      @Nonnull public ChildHostPairsRequestBuilder childHostPairs()
      Provides operations to manage the childHostPairs property of the microsoft.graph.security.host entity.
      Returns:
      a ChildHostPairsRequestBuilder
    • components

      @Nonnull public ComponentsRequestBuilder components()
      Provides operations to manage the components property of the microsoft.graph.security.host entity.
      Returns:
      a ComponentsRequestBuilder
    • cookies

      @Nonnull public CookiesRequestBuilder cookies()
      Provides operations to manage the cookies property of the microsoft.graph.security.host entity.
      Returns:
      a CookiesRequestBuilder
    • hostPairs

      @Nonnull public HostPairsRequestBuilder hostPairs()
      Provides operations to manage the hostPairs property of the microsoft.graph.security.host entity.
      Returns:
      a HostPairsRequestBuilder
    • parentHostPairs

      @Nonnull public ParentHostPairsRequestBuilder parentHostPairs()
      Provides operations to manage the parentHostPairs property of the microsoft.graph.security.host entity.
      Returns:
      a ParentHostPairsRequestBuilder
    • passiveDns

      @Nonnull public PassiveDnsRequestBuilder passiveDns()
      Provides operations to manage the passiveDns property of the microsoft.graph.security.host entity.
      Returns:
      a PassiveDnsRequestBuilder
    • passiveDnsReverse

      @Nonnull public PassiveDnsReverseRequestBuilder passiveDnsReverse()
      Provides operations to manage the passiveDnsReverse property of the microsoft.graph.security.host entity.
      Returns:
      a PassiveDnsReverseRequestBuilder
    • ports

      @Nonnull public PortsRequestBuilder ports()
      Provides operations to manage the ports property of the microsoft.graph.security.host entity.
      Returns:
      a PortsRequestBuilder
    • reputation

      @Nonnull public ReputationRequestBuilder reputation()
      Provides operations to manage the reputation property of the microsoft.graph.security.host entity.
      Returns:
      a ReputationRequestBuilder
    • sslCertificates

      @Nonnull public SslCertificatesRequestBuilder sslCertificates()
      Provides operations to manage the sslCertificates property of the microsoft.graph.security.host entity.
      Returns:
      a SslCertificatesRequestBuilder
    • subdomains

      @Nonnull public SubdomainsRequestBuilder subdomains()
      Provides operations to manage the subdomains property of the microsoft.graph.security.host entity.
      Returns:
      a SubdomainsRequestBuilder
    • trackers

      @Nonnull public TrackersRequestBuilder trackers()
      Provides operations to manage the trackers property of the microsoft.graph.security.host entity.
      Returns:
      a TrackersRequestBuilder
    • whois

      @Nonnull public WhoisRequestBuilder 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

      @Nullable public Host 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

      @Nullable public Host patch(@Nonnull Host body)
      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 body
      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
    • 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 body
      requestConfiguration - Configuration for the request such as headers, query parameters, and middleware options.
      Returns:
      a RequestInformation
    • withUrl

      @Nonnull public HostItemRequestBuilder withUrl(@Nonnull String rawUrl)
      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