public static class GetGenericArtifactContentByPathRequest.Builder extends Object implements BmcRequest.Builder<GetGenericArtifactContentByPathRequest,Void>
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public GetGenericArtifactContentByPathRequest.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 GetGenericArtifactContentByPathRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic GetGenericArtifactContentByPathRequest.Builder copy(GetGenericArtifactContentByPathRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<GetGenericArtifactContentByPathRequest,Void>
o
- other request from which to copy valuespublic GetGenericArtifactContentByPathRequest build()
Build the instance of GetGenericArtifactContentByPathRequest 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<GetGenericArtifactContentByPathRequest,Void>
public GetGenericArtifactContentByPathRequest.Builder repositoryId(String repositoryId)
The OCID of the repository.
Example: ocid1.repository.oc1..exampleuniqueID
this
.public GetGenericArtifactContentByPathRequest.Builder artifactPath(String artifactPath)
A user-defined path to describe the location of an artifact. You can use slashes to organize the repository, but slashes do not create a directory structure. An artifact path does not include an artifact version.
Example: project01/my-web-app/artifact-abc
this
.public GetGenericArtifactContentByPathRequest.Builder version(String version)
A user-defined string to describe the artifact version.
Example: 1.1.2
or 1.2-beta-2
this
.public GetGenericArtifactContentByPathRequest.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 GetGenericArtifactContentByPathRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.