Package com.oracle.bmc.jms.requests
Class GenerateAgentDeployScriptRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.requests.GenerateAgentDeployScriptRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GenerateAgentDeployScriptRequest,GenerateAgentDeployScriptDetails>
- Enclosing class:
- GenerateAgentDeployScriptRequest
public static class GenerateAgentDeployScriptRequest.Builder extends Object implements BmcRequest.Builder<GenerateAgentDeployScriptRequest,GenerateAgentDeployScriptDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenerateAgentDeployScriptRequest.Builder
body$(GenerateAgentDeployScriptDetails body)
Alternative setter for the body parameter.GenerateAgentDeployScriptRequest
build()
Build the instance of GenerateAgentDeployScriptRequest as configured by this builderGenerateAgentDeployScriptRequest
buildWithoutInvocationCallback()
Build the instance of GenerateAgentDeployScriptRequest as configured by this builderGenerateAgentDeployScriptRequest.Builder
copy(GenerateAgentDeployScriptRequest o)
Copy method to populate the builder with values from the given instance.GenerateAgentDeployScriptRequest.Builder
fleetId(String fleetId)
The OCID of the Fleet.GenerateAgentDeployScriptRequest.Builder
generateAgentDeployScriptDetails(GenerateAgentDeployScriptDetails generateAgentDeployScriptDetails)
Attributes to generate the agent deploy script for a Fleet.GenerateAgentDeployScriptRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.GenerateAgentDeployScriptRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.GenerateAgentDeployScriptRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
fleetId
public GenerateAgentDeployScriptRequest.Builder fleetId(String fleetId)
The OCID of the Fleet.- Parameters:
fleetId
- the value to set- Returns:
- this builder instance
-
generateAgentDeployScriptDetails
public GenerateAgentDeployScriptRequest.Builder generateAgentDeployScriptDetails(GenerateAgentDeployScriptDetails generateAgentDeployScriptDetails)
Attributes to generate the agent deploy script for a Fleet.- Parameters:
generateAgentDeployScriptDetails
- the value to set- Returns:
- this builder instance
-
opcRequestId
public GenerateAgentDeployScriptRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public GenerateAgentDeployScriptRequest.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 GenerateAgentDeployScriptRequest.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 GenerateAgentDeployScriptRequest.Builder copy(GenerateAgentDeployScriptRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GenerateAgentDeployScriptRequest,GenerateAgentDeployScriptDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GenerateAgentDeployScriptRequest build()
Build the instance of GenerateAgentDeployScriptRequest 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<GenerateAgentDeployScriptRequest,GenerateAgentDeployScriptDetails>
- Returns:
- instance of GenerateAgentDeployScriptRequest
-
body$
public GenerateAgentDeployScriptRequest.Builder body$(GenerateAgentDeployScriptDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<GenerateAgentDeployScriptRequest,GenerateAgentDeployScriptDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public GenerateAgentDeployScriptRequest buildWithoutInvocationCallback()
Build the instance of GenerateAgentDeployScriptRequest 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 GenerateAgentDeployScriptRequest
-
-