public static class GetGenericArtifactContentRequest.Builder extends Object implements BmcRequest.Builder<GetGenericArtifactContentRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetGenericArtifactContentRequest.Builder |
artifactId(String artifactId)
The OCID
of the artifact.
|
GetGenericArtifactContentRequest |
build()
Build the instance of GetGenericArtifactContentRequest as configured by this builder
|
GetGenericArtifactContentRequest |
buildWithoutInvocationCallback()
Build the instance of GetGenericArtifactContentRequest as configured by this builder
|
GetGenericArtifactContentRequest.Builder |
copy(GetGenericArtifactContentRequest o)
Copy method to populate the builder with values from the given instance.
|
GetGenericArtifactContentRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
GetGenericArtifactContentRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned request
ID
|
GetGenericArtifactContentRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public GetGenericArtifactContentRequest.Builder artifactId(String artifactId)
The OCID of the artifact.
Example: ocid1.genericartifact.oc1..exampleuniqueID
artifactId
- the value to setpublic GetGenericArtifactContentRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned request ID
Example: bxxxxxxx-fxxx-4xxx-9xxx-bxxxxxxxxxxx
If you contact Oracle about a
request, provide this request ID.
opcRequestId
- the value to setpublic GetGenericArtifactContentRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic GetGenericArtifactContentRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic GetGenericArtifactContentRequest.Builder copy(GetGenericArtifactContentRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<GetGenericArtifactContentRequest,Void>
o
- other request from which to copy valuespublic GetGenericArtifactContentRequest build()
Build the instance of GetGenericArtifactContentRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<GetGenericArtifactContentRequest,Void>
public GetGenericArtifactContentRequest buildWithoutInvocationCallback()
Build the instance of GetGenericArtifactContentRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.