Class GetAttachmentRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplaceprivateoffer.requests.GetAttachmentRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetAttachmentRequest,Void>
- Enclosing class:
- GetAttachmentRequest
public static class GetAttachmentRequest.Builder extends Object implements BmcRequest.Builder<GetAttachmentRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAttachmentRequest.BuilderattachmentId(String attachmentId)unique Offer identifierGetAttachmentRequestbuild()Build the instance of GetAttachmentRequest as configured by this builderGetAttachmentRequestbuildWithoutInvocationCallback()Build the instance of GetAttachmentRequest as configured by this builderGetAttachmentRequest.Buildercopy(GetAttachmentRequest o)Copy method to populate the builder with values from the given instance.GetAttachmentRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetAttachmentRequest.BuilderofferId(String offerId)unique Offer identifierGetAttachmentRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.GetAttachmentRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.-
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.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
offerId
public GetAttachmentRequest.Builder offerId(String offerId)
unique Offer identifier- Parameters:
offerId- the value to set- Returns:
- this builder instance
-
attachmentId
public GetAttachmentRequest.Builder attachmentId(String attachmentId)
unique Offer identifier- Parameters:
attachmentId- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetAttachmentRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetAttachmentRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public GetAttachmentRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public GetAttachmentRequest.Builder copy(GetAttachmentRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<GetAttachmentRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetAttachmentRequest build()
Build the instance of GetAttachmentRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance.
- Specified by:
buildin interfaceBmcRequest.Builder<GetAttachmentRequest,Void>- Returns:
- instance of GetAttachmentRequest
-
buildWithoutInvocationCallback
public GetAttachmentRequest buildWithoutInvocationCallback()
Build the instance of GetAttachmentRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of GetAttachmentRequest
-
-