public static class GetGenericArtifactContentByPathRequest.Builder extends Object implements BmcRequest.Builder<GetGenericArtifactContentByPathRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetGenericArtifactContentByPathRequest.Builder |
artifactPath(String artifactPath)
A user-defined path to describe the location of an artifact.
|
GetGenericArtifactContentByPathRequest |
build()
Build the instance of GetGenericArtifactContentByPathRequest as configured by this
builder
|
GetGenericArtifactContentByPathRequest |
buildWithoutInvocationCallback()
Build the instance of GetGenericArtifactContentByPathRequest as configured by this
builder
|
GetGenericArtifactContentByPathRequest.Builder |
copy(GetGenericArtifactContentByPathRequest o)
Copy method to populate the builder with values from the given instance.
|
GetGenericArtifactContentByPathRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
GetGenericArtifactContentByPathRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned request
ID
|
GetGenericArtifactContentByPathRequest.Builder |
repositoryId(String repositoryId)
The OCID
of the repository.
|
GetGenericArtifactContentByPathRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
GetGenericArtifactContentByPathRequest.Builder |
version(String version)
A user-defined string to describe the artifact version.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public GetGenericArtifactContentByPathRequest.Builder repositoryId(String repositoryId)
The OCID of the repository.
Example: ocid1.repository.oc1..exampleuniqueID
repositoryId
- the value to setpublic 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
artifactPath
- the value to setpublic GetGenericArtifactContentByPathRequest.Builder version(String version)
A user-defined string to describe the artifact version.
Example: 1.1.2
or 1.2-beta-2
version
- the value to setpublic 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.
opcRequestId
- the value to setpublic GetGenericArtifactContentByPathRequest.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 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.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<GetGenericArtifactContentByPathRequest,Void>
public GetGenericArtifactContentByPathRequest buildWithoutInvocationCallback()
Build the instance of GetGenericArtifactContentByPathRequest 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.