Class GetAttachmentResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.marketplaceprivateoffer.responses.GetAttachmentResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<GetAttachmentResponse>
 - Enclosing class:
- GetAttachmentResponse
 
 public static class GetAttachmentResponse.Builder extends Object implements BmcResponse.Builder<GetAttachmentResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAttachmentResponse.Builder__httpStatusCode__(int __httpStatusCode__)GetAttachmentResponse.Builderattachment(Attachment attachment)The returned Attachment instance.GetAttachmentResponsebuild()Build the response object.GetAttachmentResponse.Buildercopy(GetAttachmentResponse o)Copy method to populate the builder with values from the given instance.GetAttachmentResponse.Builderetag(String etag)For optimistic concurrency control.GetAttachmentResponse.Builderheaders(Map<String,List<String>> headers)GetAttachmentResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.BuilderisNotModified
 
- 
 
- 
- 
- 
Method Detail- 
__httpStatusCode__public GetAttachmentResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<GetAttachmentResponse>
 
 - 
headerspublic GetAttachmentResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<GetAttachmentResponse>
 
 - 
etagpublic GetAttachmentResponse.Builder etag(String etag) For optimistic concurrency control.See if-match. - Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
opcRequestIdpublic GetAttachmentResponse.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
 
 - 
attachmentpublic GetAttachmentResponse.Builder attachment(Attachment attachment) The returned Attachment instance.- Parameters:
- attachment- the value to set
- Returns:
- this builder
 
 - 
copypublic GetAttachmentResponse.Builder copy(GetAttachmentResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<GetAttachmentResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic GetAttachmentResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<GetAttachmentResponse>
- Returns:
- the response object
 
 
- 
 
-