Class GetCommitmentRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.osubsubscription.requests.GetCommitmentRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<GetCommitmentRequest,Void>
 - Enclosing class:
- GetCommitmentRequest
 
 public static class GetCommitmentRequest.Builder extends Object implements BmcRequest.Builder<GetCommitmentRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GetCommitmentRequestbuild()Build the instance of GetCommitmentRequest as configured by this builderGetCommitmentRequestbuildWithoutInvocationCallback()Build the instance of GetCommitmentRequest as configured by this builderGetCommitmentRequest.BuildercommitmentId(String commitmentId)The Commitment IdGetCommitmentRequest.Buildercopy(GetCommitmentRequest o)Copy method to populate the builder with values from the given instance.GetCommitmentRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetCommitmentRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.GetCommitmentRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.GetCommitmentRequest.BuilderxOneGatewaySubscriptionId(String xOneGatewaySubscriptionId)This header is meant to be used only for internal purposes and will be ignored on any public request.GetCommitmentRequest.BuilderxOneOriginRegion(String xOneOriginRegion)The OCI home region name in case home region is not us-ashburn-1 (IAD), e.g.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
commitmentIdpublic GetCommitmentRequest.Builder commitmentId(String commitmentId) The Commitment Id- Parameters:
- commitmentId- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic GetCommitmentRequest.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 instance
 
 - 
xOneGatewaySubscriptionIdpublic GetCommitmentRequest.Builder xOneGatewaySubscriptionId(String xOneGatewaySubscriptionId) This header is meant to be used only for internal purposes and will be ignored on any public request.The purpose of this header is to help on Gateway to API calls identification. - Parameters:
- xOneGatewaySubscriptionId- the value to set
- Returns:
- this builder instance
 
 - 
xOneOriginRegionpublic GetCommitmentRequest.Builder xOneOriginRegion(String xOneOriginRegion) The OCI home region name in case home region is not us-ashburn-1 (IAD), e.g.ap-mumbai-1, us-phoenix-1 etc. - Parameters:
- xOneOriginRegion- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic GetCommitmentRequest.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
 
 - 
retryConfigurationpublic GetCommitmentRequest.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
 
 - 
copypublic GetCommitmentRequest.Builder copy(GetCommitmentRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<GetCommitmentRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic GetCommitmentRequest build() Build the instance of GetCommitmentRequest 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 interface- BmcRequest.Builder<GetCommitmentRequest,Void>
- Returns:
- instance of GetCommitmentRequest
 
 - 
buildWithoutInvocationCallbackpublic GetCommitmentRequest buildWithoutInvocationCallback() Build the instance of GetCommitmentRequest 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 GetCommitmentRequest
 
 
- 
 
-