Class GetSubscribedServiceRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.onesubscription.requests.GetSubscribedServiceRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetSubscribedServiceRequest,Void>
- Enclosing class:
- GetSubscribedServiceRequest
public static class GetSubscribedServiceRequest.Builder extends Object implements BmcRequest.Builder<GetSubscribedServiceRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetSubscribedServiceRequest
build()
Build the instance of GetSubscribedServiceRequest as configured by this builderGetSubscribedServiceRequest
buildWithoutInvocationCallback()
Build the instance of GetSubscribedServiceRequest as configured by this builderGetSubscribedServiceRequest.Builder
copy(GetSubscribedServiceRequest o)
Copy method to populate the builder with values from the given instance.GetSubscribedServiceRequest.Builder
fields(String singularValue)
Singular setter.GetSubscribedServiceRequest.Builder
fields(List<String> fields)
Partial response refers to an optimization technique offered by the RESTful web APIs to return only the information (fields) required by the client.GetSubscribedServiceRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.GetSubscribedServiceRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.GetSubscribedServiceRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.GetSubscribedServiceRequest.Builder
subscribedServiceId(String subscribedServiceId)
The Subscribed Service Id-
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
-
subscribedServiceId
public GetSubscribedServiceRequest.Builder subscribedServiceId(String subscribedServiceId)
The Subscribed Service Id- Parameters:
subscribedServiceId
- the value to set- Returns:
- this builder instance
-
fields
public GetSubscribedServiceRequest.Builder fields(List<String> fields)
Partial response refers to an optimization technique offered by the RESTful web APIs to return only the information (fields) required by the client.In this mechanism, the client sends the required field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter used to control what fields to return should be a query string parameter called “fields” of type array, and usecollectionFormat
- Parameters:
fields
- the value to set- Returns:
- this builder instance
-
fields
public GetSubscribedServiceRequest.Builder fields(String singularValue)
Singular setter.Partial response refers to an optimization technique offered by the RESTful web APIs to return only the information (fields) required by the client. In this mechanism, the client sends the required field names as the query parameters for an API to the server, and the server trims down the default response content by removing the fields that are not required by the client. The parameter used to control what fields to return should be a query string parameter called “fields” of type array, and usecollectionFormat
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
opcRequestId
public GetSubscribedServiceRequest.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
-
invocationCallback
public GetSubscribedServiceRequest.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 GetSubscribedServiceRequest.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 GetSubscribedServiceRequest.Builder copy(GetSubscribedServiceRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GetSubscribedServiceRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetSubscribedServiceRequest build()
Build the instance of GetSubscribedServiceRequest 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:
build
in interfaceBmcRequest.Builder<GetSubscribedServiceRequest,Void>
- Returns:
- instance of GetSubscribedServiceRequest
-
buildWithoutInvocationCallback
public GetSubscribedServiceRequest buildWithoutInvocationCallback()
Build the instance of GetSubscribedServiceRequest 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 GetSubscribedServiceRequest
-
-