Package com.oracle.bmc.opsi.requests
Class CreateAwrHubSourceRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.opsi.requests.CreateAwrHubSourceRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<CreateAwrHubSourceRequest,CreateAwrHubSourceDetails>
 - Enclosing class:
- CreateAwrHubSourceRequest
 
 public static class CreateAwrHubSourceRequest.Builder extends Object implements BmcRequest.Builder<CreateAwrHubSourceRequest,CreateAwrHubSourceDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAwrHubSourceRequest.Builderbody$(CreateAwrHubSourceDetails body)Alternative setter for the body parameter.CreateAwrHubSourceRequestbuild()Build the instance of CreateAwrHubSourceRequest as configured by this builderCreateAwrHubSourceRequestbuildWithoutInvocationCallback()Build the instance of CreateAwrHubSourceRequest as configured by this builderCreateAwrHubSourceRequest.Buildercopy(CreateAwrHubSourceRequest o)Copy method to populate the builder with values from the given instance.CreateAwrHubSourceRequest.BuildercreateAwrHubSourceDetails(CreateAwrHubSourceDetails createAwrHubSourceDetails)Payload containing details to register the source databaseCreateAwrHubSourceRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.CreateAwrHubSourceRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreateAwrHubSourceRequest.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.CreateAwrHubSourceRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
 
- 
- 
- 
Method Detail- 
createAwrHubSourceDetailspublic CreateAwrHubSourceRequest.Builder createAwrHubSourceDetails(CreateAwrHubSourceDetails createAwrHubSourceDetails) Payload containing details to register the source database- Parameters:
- createAwrHubSourceDetails- the value to set
- Returns:
- this builder instance
 
 - 
opcRetryTokenpublic CreateAwrHubSourceRequest.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 CreateAwrHubSourceRequest.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 CreateAwrHubSourceRequest.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 CreateAwrHubSourceRequest.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 CreateAwrHubSourceRequest.Builder copy(CreateAwrHubSourceRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<CreateAwrHubSourceRequest,CreateAwrHubSourceDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateAwrHubSourceRequest build() Build the instance of CreateAwrHubSourceRequest 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<CreateAwrHubSourceRequest,CreateAwrHubSourceDetails>
- Returns:
- instance of CreateAwrHubSourceRequest
 
 - 
body$public CreateAwrHubSourceRequest.Builder body$(CreateAwrHubSourceDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<CreateAwrHubSourceRequest,CreateAwrHubSourceDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic CreateAwrHubSourceRequest buildWithoutInvocationCallback() Build the instance of CreateAwrHubSourceRequest 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 CreateAwrHubSourceRequest
 
 
- 
 
-