Class ChangeProvisionCompartmentRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.requests.ChangeProvisionCompartmentRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ChangeProvisionCompartmentRequest,ChangeProvisionCompartmentDetails>
- Enclosing class:
- ChangeProvisionCompartmentRequest
public static class ChangeProvisionCompartmentRequest.Builder extends Object implements BmcRequest.Builder<ChangeProvisionCompartmentRequest,ChangeProvisionCompartmentDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeProvisionCompartmentRequest.Builder
body$(ChangeProvisionCompartmentDetails body)
Alternative setter for the body parameter.ChangeProvisionCompartmentRequest
build()
Build the instance of ChangeProvisionCompartmentRequest as configured by this builderChangeProvisionCompartmentRequest
buildWithoutInvocationCallback()
Build the instance of ChangeProvisionCompartmentRequest as configured by this builderChangeProvisionCompartmentRequest.Builder
changeProvisionCompartmentDetails(ChangeProvisionCompartmentDetails changeProvisionCompartmentDetails)
Details of the target compartment.ChangeProvisionCompartmentRequest.Builder
copy(ChangeProvisionCompartmentRequest o)
Copy method to populate the builder with values from the given instance.ChangeProvisionCompartmentRequest.Builder
ifMatch(String ifMatch)
For optimistic concurrency control.ChangeProvisionCompartmentRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ChangeProvisionCompartmentRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ChangeProvisionCompartmentRequest.Builder
provisionId(String provisionId)
The OCID of the FamProvision.ChangeProvisionCompartmentRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
provisionId
public ChangeProvisionCompartmentRequest.Builder provisionId(String provisionId)
The OCID of the FamProvision.- Parameters:
provisionId
- the value to set- Returns:
- this builder instance
-
changeProvisionCompartmentDetails
public ChangeProvisionCompartmentRequest.Builder changeProvisionCompartmentDetails(ChangeProvisionCompartmentDetails changeProvisionCompartmentDetails)
Details of the target compartment.- Parameters:
changeProvisionCompartmentDetails
- the value to set- Returns:
- this builder instance
-
ifMatch
public ChangeProvisionCompartmentRequest.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
-
opcRequestId
public ChangeProvisionCompartmentRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ChangeProvisionCompartmentRequest.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 ChangeProvisionCompartmentRequest.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 ChangeProvisionCompartmentRequest.Builder copy(ChangeProvisionCompartmentRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ChangeProvisionCompartmentRequest,ChangeProvisionCompartmentDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ChangeProvisionCompartmentRequest build()
Build the instance of ChangeProvisionCompartmentRequest 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<ChangeProvisionCompartmentRequest,ChangeProvisionCompartmentDetails>
- Returns:
- instance of ChangeProvisionCompartmentRequest
-
body$
public ChangeProvisionCompartmentRequest.Builder body$(ChangeProvisionCompartmentDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<ChangeProvisionCompartmentRequest,ChangeProvisionCompartmentDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public ChangeProvisionCompartmentRequest buildWithoutInvocationCallback()
Build the instance of ChangeProvisionCompartmentRequest 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 ChangeProvisionCompartmentRequest
-
-