Package com.oracle.bmc.datasafe.requests
Class GenerateHealthReportRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.requests.GenerateHealthReportRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GenerateHealthReportRequest,GenerateHealthReportDetails>
- Enclosing class:
- GenerateHealthReportRequest
public static class GenerateHealthReportRequest.Builder extends Object implements BmcRequest.Builder<GenerateHealthReportRequest,GenerateHealthReportDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerateHealthReportRequest.Builder
body$(GenerateHealthReportDetails body)
Alternative setter for the body parameter.GenerateHealthReportRequest
build()
Build the instance of GenerateHealthReportRequest as configured by this builderGenerateHealthReportRequest
buildWithoutInvocationCallback()
Build the instance of GenerateHealthReportRequest as configured by this builderGenerateHealthReportRequest.Builder
copy(GenerateHealthReportRequest o)
Copy method to populate the builder with values from the given instance.GenerateHealthReportRequest.Builder
generateHealthReportDetails(GenerateHealthReportDetails generateHealthReportDetails)
Details to perform an health check.GenerateHealthReportRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.GenerateHealthReportRequest.Builder
maskingPolicyId(String maskingPolicyId)
The OCID of the masking policy.GenerateHealthReportRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.GenerateHealthReportRequest.Builder
opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.GenerateHealthReportRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
maskingPolicyId
public GenerateHealthReportRequest.Builder maskingPolicyId(String maskingPolicyId)
The OCID of the masking policy.- Parameters:
maskingPolicyId
- the value to set- Returns:
- this builder instance
-
generateHealthReportDetails
public GenerateHealthReportRequest.Builder generateHealthReportDetails(GenerateHealthReportDetails generateHealthReportDetails)
Details to perform an health check.- Parameters:
generateHealthReportDetails
- the value to set- Returns:
- this builder instance
-
opcRequestId
public GenerateHealthReportRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
opcRetryToken
public GenerateHealthReportRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
- Parameters:
opcRetryToken
- the value to set- Returns:
- this builder instance
-
invocationCallback
public GenerateHealthReportRequest.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
-
retryConfiguration
public GenerateHealthReportRequest.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
-
copy
public GenerateHealthReportRequest.Builder copy(GenerateHealthReportRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GenerateHealthReportRequest,GenerateHealthReportDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GenerateHealthReportRequest build()
Build the instance of GenerateHealthReportRequest 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:
build
in interfaceBmcRequest.Builder<GenerateHealthReportRequest,GenerateHealthReportDetails>
- Returns:
- instance of GenerateHealthReportRequest
-
body$
public GenerateHealthReportRequest.Builder body$(GenerateHealthReportDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<GenerateHealthReportRequest,GenerateHealthReportDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public GenerateHealthReportRequest buildWithoutInvocationCallback()
Build the instance of GenerateHealthReportRequest 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 GenerateHealthReportRequest
-
-