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