Class UpdateConfigurationSourceProviderRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.resourcemanager.requests.UpdateConfigurationSourceProviderRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateConfigurationSourceProviderRequest,UpdateConfigurationSourceProviderDetails>
- Enclosing class:
- UpdateConfigurationSourceProviderRequest
public static class UpdateConfigurationSourceProviderRequest.Builder extends Object implements BmcRequest.Builder<UpdateConfigurationSourceProviderRequest,UpdateConfigurationSourceProviderDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateConfigurationSourceProviderRequest.Builderbody$(UpdateConfigurationSourceProviderDetails body)Alternative setter for the body parameter.UpdateConfigurationSourceProviderRequestbuild()Build the instance of UpdateConfigurationSourceProviderRequest as configured by this builderUpdateConfigurationSourceProviderRequestbuildWithoutInvocationCallback()Build the instance of UpdateConfigurationSourceProviderRequest as configured by this builderUpdateConfigurationSourceProviderRequest.BuilderconfigurationSourceProviderId(String configurationSourceProviderId)The OCID of the configuration source provider.UpdateConfigurationSourceProviderRequest.Buildercopy(UpdateConfigurationSourceProviderRequest o)Copy method to populate the builder with values from the given instance.UpdateConfigurationSourceProviderRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateConfigurationSourceProviderRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateConfigurationSourceProviderRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.UpdateConfigurationSourceProviderRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateConfigurationSourceProviderRequest.BuilderupdateConfigurationSourceProviderDetails(UpdateConfigurationSourceProviderDetails updateConfigurationSourceProviderDetails)Updated information provided for the ConfigurationSourceProvider.
-
-
-
Method Detail
-
configurationSourceProviderId
public UpdateConfigurationSourceProviderRequest.Builder configurationSourceProviderId(String configurationSourceProviderId)
The OCID of the configuration source provider.- Parameters:
configurationSourceProviderId- the value to set- Returns:
- this builder instance
-
updateConfigurationSourceProviderDetails
public UpdateConfigurationSourceProviderRequest.Builder updateConfigurationSourceProviderDetails(UpdateConfigurationSourceProviderDetails updateConfigurationSourceProviderDetails)
Updated information provided for the ConfigurationSourceProvider.- Parameters:
updateConfigurationSourceProviderDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateConfigurationSourceProviderRequest.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 UpdateConfigurationSourceProviderRequest.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
-
invocationCallback
public UpdateConfigurationSourceProviderRequest.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 UpdateConfigurationSourceProviderRequest.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 UpdateConfigurationSourceProviderRequest.Builder copy(UpdateConfigurationSourceProviderRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateConfigurationSourceProviderRequest,UpdateConfigurationSourceProviderDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateConfigurationSourceProviderRequest build()
Build the instance of UpdateConfigurationSourceProviderRequest 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<UpdateConfigurationSourceProviderRequest,UpdateConfigurationSourceProviderDetails>- Returns:
- instance of UpdateConfigurationSourceProviderRequest
-
body$
public UpdateConfigurationSourceProviderRequest.Builder body$(UpdateConfigurationSourceProviderDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateConfigurationSourceProviderRequest,UpdateConfigurationSourceProviderDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateConfigurationSourceProviderRequest buildWithoutInvocationCallback()
Build the instance of UpdateConfigurationSourceProviderRequest 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 UpdateConfigurationSourceProviderRequest
-
-