Package com.oracle.bmc.opsi.requests
Class CreateHostInsightRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.opsi.requests.CreateHostInsightRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<CreateHostInsightRequest,CreateHostInsightDetails>
 - Enclosing class:
- CreateHostInsightRequest
 
 public static class CreateHostInsightRequest.Builder extends Object implements BmcRequest.Builder<CreateHostInsightRequest,CreateHostInsightDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateHostInsightRequest.Builderbody$(CreateHostInsightDetails body)Alternative setter for the body parameter.CreateHostInsightRequestbuild()Build the instance of CreateHostInsightRequest as configured by this builderCreateHostInsightRequestbuildWithoutInvocationCallback()Build the instance of CreateHostInsightRequest as configured by this builderCreateHostInsightRequest.Buildercopy(CreateHostInsightRequest o)Copy method to populate the builder with values from the given instance.CreateHostInsightRequest.BuildercreateHostInsightDetails(CreateHostInsightDetails createHostInsightDetails)Details for the host for which a Host Insight resource will be created in Ops Insights.CreateHostInsightRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.CreateHostInsightRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreateHostInsightRequest.BuilderopcRetryToken(String opcRetryToken)A token that uniquely identifies a request that can be retried in case of a timeout or server error without risk of executing the same action again.CreateHostInsightRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
 
- 
- 
- 
Method Detail- 
createHostInsightDetailspublic CreateHostInsightRequest.Builder createHostInsightDetails(CreateHostInsightDetails createHostInsightDetails) Details for the host for which a Host Insight resource will be created in Ops Insights.- Parameters:
- createHostInsightDetails- the value to set
- Returns:
- this builder instance
 
 - 
opcRetryTokenpublic CreateHostInsightRequest.Builder opcRetryToken(String opcRetryToken) A token that uniquely identifies a request that can be retried in case of a timeout or server error without risk of executing the same action again.Retry tokens expire after 24 hours. Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting operations, such as a resource being deleted or purged from the system. - Parameters:
- opcRetryToken- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic CreateHostInsightRequest.Builder opcRequestId(String opcRequestId) Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic CreateHostInsightRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback) Set the invocation callback for the request to be built.- Parameters:
- invocationCallback- the invocation callback to be set for the request
- Returns:
- this builder instance
 
 - 
retryConfigurationpublic CreateHostInsightRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration) Set the retry configuration for the request to be built.- Parameters:
- retryConfiguration- the retry configuration to be used for the request
- Returns:
- this builder instance
 
 - 
copypublic CreateHostInsightRequest.Builder copy(CreateHostInsightRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<CreateHostInsightRequest,CreateHostInsightDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateHostInsightRequest build() Build the instance of CreateHostInsightRequest as configured by this builderNote that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance. - Specified by:
- buildin interface- BmcRequest.Builder<CreateHostInsightRequest,CreateHostInsightDetails>
- Returns:
- instance of CreateHostInsightRequest
 
 - 
body$public CreateHostInsightRequest.Builder body$(CreateHostInsightDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<CreateHostInsightRequest,CreateHostInsightDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic CreateHostInsightRequest buildWithoutInvocationCallback() Build the instance of CreateHostInsightRequest as configured by this builderNote that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of CreateHostInsightRequest
 
 
- 
 
-