Class ListServiceEnvironmentsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.servicemanagerproxy.requests.ListServiceEnvironmentsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListServiceEnvironmentsRequest,Void>
- Enclosing class:
- ListServiceEnvironmentsRequest
public static class ListServiceEnvironmentsRequest.Builder extends Object implements BmcRequest.Builder<ListServiceEnvironmentsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListServiceEnvironmentsRequestbuild()Build the instance of ListServiceEnvironmentsRequest as configured by this builderListServiceEnvironmentsRequestbuildWithoutInvocationCallback()Build the instance of ListServiceEnvironmentsRequest as configured by this builderListServiceEnvironmentsRequest.BuildercompartmentId(String compartmentId)The OCID for the compartment.ListServiceEnvironmentsRequest.Buildercopy(ListServiceEnvironmentsRequest o)Copy method to populate the builder with values from the given instance.ListServiceEnvironmentsRequest.BuilderdisplayName(String displayName)The display name of the resource.ListServiceEnvironmentsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListServiceEnvironmentsRequest.Builderlimit(Integer limit)How many records to return.ListServiceEnvironmentsRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListServiceEnvironmentsRequest.Builderpage(String page)The value of the opc-next-page response header from the previous “List” call.ListServiceEnvironmentsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListServiceEnvironmentsRequest.BuilderserviceEnvironmentId(String serviceEnvironmentId)The unique identifier associated with the service environment.ListServiceEnvironmentsRequest.BuilderserviceEnvironmentType(String serviceEnvironmentType)The environment’s service definition type.ListServiceEnvironmentsRequest.BuildersortBy(ListServiceEnvironmentsRequest.SortBy sortBy)The field to sort by.ListServiceEnvironmentsRequest.BuildersortOrder(ListServiceEnvironmentsRequest.SortOrder sortOrder)The sort order to use, either ASC or DESC.-
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
-
compartmentId
public ListServiceEnvironmentsRequest.Builder compartmentId(String compartmentId)
The OCID for the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
serviceEnvironmentId
public ListServiceEnvironmentsRequest.Builder serviceEnvironmentId(String serviceEnvironmentId)
The unique identifier associated with the service environment.*Note:** Not an [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Parameters:
serviceEnvironmentId- the value to set- Returns:
- this builder instance
-
serviceEnvironmentType
public ListServiceEnvironmentsRequest.Builder serviceEnvironmentType(String serviceEnvironmentType)
The environment’s service definition type.For example, “RGBUOROMS” is the service definition type for “Oracle Retail Order Management Cloud Service”.
- Parameters:
serviceEnvironmentType- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListServiceEnvironmentsRequest.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
-
limit
public ListServiceEnvironmentsRequest.Builder limit(Integer limit)
How many records to return.Specify a value greater than zero and less than or equal to 1000. The default is 30.
- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListServiceEnvironmentsRequest.Builder page(String page)
The value of the opc-next-page response header from the previous “List” call.- Parameters:
page- the value to set- Returns:
- this builder instance
-
sortBy
public ListServiceEnvironmentsRequest.Builder sortBy(ListServiceEnvironmentsRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. ID is default ordered as ascending.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
sortOrder
public ListServiceEnvironmentsRequest.Builder sortOrder(ListServiceEnvironmentsRequest.SortOrder sortOrder)
The sort order to use, either ASC or DESC.- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
displayName
public ListServiceEnvironmentsRequest.Builder displayName(String displayName)
The display name of the resource.- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListServiceEnvironmentsRequest.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 ListServiceEnvironmentsRequest.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 ListServiceEnvironmentsRequest.Builder copy(ListServiceEnvironmentsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListServiceEnvironmentsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListServiceEnvironmentsRequest build()
Build the instance of ListServiceEnvironmentsRequest 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<ListServiceEnvironmentsRequest,Void>- Returns:
- instance of ListServiceEnvironmentsRequest
-
buildWithoutInvocationCallback
public ListServiceEnvironmentsRequest buildWithoutInvocationCallback()
Build the instance of ListServiceEnvironmentsRequest 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 ListServiceEnvironmentsRequest
-
-