public static class GetGenericArtifactContentRequest.Builder extends Object implements BmcRequest.Builder<GetGenericArtifactContentRequest,Void>
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() |
GetGenericArtifactContentRequest.Builder |
copy(GetGenericArtifactContentRequest o)
Copy method to populate the builder with values from the given instance.
|
GetGenericArtifactContentRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> 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.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public GetGenericArtifactContentRequest.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 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.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<GetGenericArtifactContentRequest,Void>
public GetGenericArtifactContentRequest.Builder artifactId(String artifactId)
The OCID of the artifact.
Example: ocid1.genericartifact.oc1..exampleuniqueID
this
.public 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.
this
.public GetGenericArtifactContentRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.