public static class GetScriptRequest.Builder extends Object implements BmcRequest.Builder<GetScriptRequest,Void>
Modifier and Type | Method and Description |
---|---|
GetScriptRequest.Builder |
apmDomainId(String apmDomainId)
The APM domain ID the request is intended for.
|
GetScriptRequest |
build()
Build the instance of GetScriptRequest as configured by this builder
|
GetScriptRequest |
buildWithoutInvocationCallback() |
GetScriptRequest.Builder |
copy(GetScriptRequest o)
Copy method to populate the builder with values from the given instance.
|
GetScriptRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
GetScriptRequest.Builder |
opcRequestId(String opcRequestId)
Unique identifier for the request.
|
GetScriptRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
GetScriptRequest.Builder |
scriptId(String scriptId)
The OCID of the script.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public GetScriptRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic GetScriptRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic GetScriptRequest.Builder copy(GetScriptRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<GetScriptRequest,Void>
o
- other request from which to copy valuespublic GetScriptRequest build()
Build the instance of GetScriptRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<GetScriptRequest,Void>
public GetScriptRequest.Builder apmDomainId(String apmDomainId)
The APM domain ID the request is intended for.
this
.public GetScriptRequest.Builder scriptId(String scriptId)
The OCID of the script.
this
.public GetScriptRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
this
.public GetScriptRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.