Class PerformAssessorActionRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemigration.requests.PerformAssessorActionRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<PerformAssessorActionRequest,PerformAssessorActionDetails>
- Enclosing class:
- PerformAssessorActionRequest
public static class PerformAssessorActionRequest.Builder extends Object implements BmcRequest.Builder<PerformAssessorActionRequest,PerformAssessorActionDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PerformAssessorActionRequest.BuilderassessmentId(String assessmentId)The OCID of the AssessmentPerformAssessorActionRequest.BuilderassessorAction(String assessorAction)The Accessor ActionPerformAssessorActionRequest.BuilderassessorName(String assessorName)The name of the AssessorPerformAssessorActionRequest.Builderbody$(PerformAssessorActionDetails body)Alternative setter for the body parameter.PerformAssessorActionRequestbuild()Build the instance of PerformAssessorActionRequest as configured by this builderPerformAssessorActionRequestbuildWithoutInvocationCallback()Build the instance of PerformAssessorActionRequest as configured by this builderPerformAssessorActionRequest.Buildercopy(PerformAssessorActionRequest o)Copy method to populate the builder with values from the given instance.PerformAssessorActionRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.PerformAssessorActionRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.PerformAssessorActionRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.PerformAssessorActionRequest.BuilderperformAssessorActionDetails(PerformAssessorActionDetails performAssessorActionDetails)Assessor action details.PerformAssessorActionRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
assessmentId
public PerformAssessorActionRequest.Builder assessmentId(String assessmentId)
The OCID of the Assessment- Parameters:
assessmentId- the value to set- Returns:
- this builder instance
-
assessorName
public PerformAssessorActionRequest.Builder assessorName(String assessorName)
The name of the Assessor- Parameters:
assessorName- the value to set- Returns:
- this builder instance
-
assessorAction
public PerformAssessorActionRequest.Builder assessorAction(String assessorAction)
The Accessor Action- Parameters:
assessorAction- the value to set- Returns:
- this builder instance
-
opcRequestId
public PerformAssessorActionRequest.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
-
ifMatch
public PerformAssessorActionRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
performAssessorActionDetails
public PerformAssessorActionRequest.Builder performAssessorActionDetails(PerformAssessorActionDetails performAssessorActionDetails)
Assessor action details.- Parameters:
performAssessorActionDetails- the value to set- Returns:
- this builder instance
-
invocationCallback
public PerformAssessorActionRequest.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 PerformAssessorActionRequest.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 PerformAssessorActionRequest.Builder copy(PerformAssessorActionRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<PerformAssessorActionRequest,PerformAssessorActionDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public PerformAssessorActionRequest build()
Build the instance of PerformAssessorActionRequest 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 interfaceBmcRequest.Builder<PerformAssessorActionRequest,PerformAssessorActionDetails>- Returns:
- instance of PerformAssessorActionRequest
-
body$
public PerformAssessorActionRequest.Builder body$(PerformAssessorActionDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<PerformAssessorActionRequest,PerformAssessorActionDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public PerformAssessorActionRequest buildWithoutInvocationCallback()
Build the instance of PerformAssessorActionRequest 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 PerformAssessorActionRequest
-
-