Package com.oracle.bmc.jms.requests
Class UpdateFleetAgentConfigurationRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.requests.UpdateFleetAgentConfigurationRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateFleetAgentConfigurationRequest,UpdateFleetAgentConfigurationDetails>
- Enclosing class:
- UpdateFleetAgentConfigurationRequest
public static class UpdateFleetAgentConfigurationRequest.Builder extends Object implements BmcRequest.Builder<UpdateFleetAgentConfigurationRequest,UpdateFleetAgentConfigurationDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateFleetAgentConfigurationRequest.Builderbody$(UpdateFleetAgentConfigurationDetails body)Alternative setter for the body parameter.UpdateFleetAgentConfigurationRequestbuild()Build the instance of UpdateFleetAgentConfigurationRequest as configured by this builderUpdateFleetAgentConfigurationRequestbuildWithoutInvocationCallback()Build the instance of UpdateFleetAgentConfigurationRequest as configured by this builderUpdateFleetAgentConfigurationRequest.Buildercopy(UpdateFleetAgentConfigurationRequest o)Copy method to populate the builder with values from the given instance.UpdateFleetAgentConfigurationRequest.BuilderfleetId(String fleetId)The OCID of the Fleet.UpdateFleetAgentConfigurationRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateFleetAgentConfigurationRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateFleetAgentConfigurationRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdateFleetAgentConfigurationRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateFleetAgentConfigurationRequest.BuilderupdateFleetAgentConfigurationDetails(UpdateFleetAgentConfigurationDetails updateFleetAgentConfigurationDetails)The new details for the Fleet Agent Configuration.
-
-
-
Method Detail
-
fleetId
public UpdateFleetAgentConfigurationRequest.Builder fleetId(String fleetId)
The OCID of the Fleet.- Parameters:
fleetId- the value to set- Returns:
- this builder instance
-
updateFleetAgentConfigurationDetails
public UpdateFleetAgentConfigurationRequest.Builder updateFleetAgentConfigurationDetails(UpdateFleetAgentConfigurationDetails updateFleetAgentConfigurationDetails)
The new details for the Fleet Agent Configuration.- Parameters:
updateFleetAgentConfigurationDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateFleetAgentConfigurationRequest.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 UpdateFleetAgentConfigurationRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateFleetAgentConfigurationRequest.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 UpdateFleetAgentConfigurationRequest.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 UpdateFleetAgentConfigurationRequest.Builder copy(UpdateFleetAgentConfigurationRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateFleetAgentConfigurationRequest,UpdateFleetAgentConfigurationDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateFleetAgentConfigurationRequest build()
Build the instance of UpdateFleetAgentConfigurationRequest 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<UpdateFleetAgentConfigurationRequest,UpdateFleetAgentConfigurationDetails>- Returns:
- instance of UpdateFleetAgentConfigurationRequest
-
body$
public UpdateFleetAgentConfigurationRequest.Builder body$(UpdateFleetAgentConfigurationDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateFleetAgentConfigurationRequest,UpdateFleetAgentConfigurationDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateFleetAgentConfigurationRequest buildWithoutInvocationCallback()
Build the instance of UpdateFleetAgentConfigurationRequest 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 UpdateFleetAgentConfigurationRequest
-
-