Class GetArtifactResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.responses.GetArtifactResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<GetArtifactResponse>
- Enclosing class:
- GetArtifactResponse
public static class GetArtifactResponse.Builder extends Object implements BmcResponse.Builder<GetArtifactResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetArtifactResponse.Builder__httpStatusCode__(int __httpStatusCode__)GetArtifactResponse.Builderartifact(Artifact artifact)The returned Artifact instance.GetArtifactResponsebuild()Build the response object.GetArtifactResponse.Buildercopy(GetArtifactResponse o)Copy method to populate the builder with values from the given instance.GetArtifactResponse.Builderetag(String etag)For optimistic concurrency control.GetArtifactResponse.Builderheaders(Map<String,List<String>> headers)GetArtifactResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.Builder
isNotModified
-
-
-
-
Method Detail
-
__httpStatusCode__
public GetArtifactResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__in interfaceBmcResponse.Builder<GetArtifactResponse>
-
headers
public GetArtifactResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headersin interfaceBmcResponse.Builder<GetArtifactResponse>
-
etag
public GetArtifactResponse.Builder etag(String etag)
For optimistic concurrency control.See if-match.
- Parameters:
etag- the value to set- Returns:
- this builder
-
opcRequestId
public GetArtifactResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder
-
artifact
public GetArtifactResponse.Builder artifact(Artifact artifact)
The returned Artifact instance.- Parameters:
artifact- the value to set- Returns:
- this builder
-
copy
public GetArtifactResponse.Builder copy(GetArtifactResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcResponse.Builder<GetArtifactResponse>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetArtifactResponse build()
Build the response object.- Specified by:
buildin interfaceBmcResponse.Builder<GetArtifactResponse>- Returns:
- the response object
-
-