public static class ListServiceEnvironmentsRequest.Builder extends Object implements BmcRequest.Builder<ListServiceEnvironmentsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListServiceEnvironmentsRequest |
build()
Build the instance of ListServiceEnvironmentsRequest as configured by this builder
|
ListServiceEnvironmentsRequest |
buildWithoutInvocationCallback()
Build the instance of ListServiceEnvironmentsRequest as configured by this builder
|
ListServiceEnvironmentsRequest.Builder |
compartmentId(String compartmentId)
The OCID for
the compartment.
|
ListServiceEnvironmentsRequest.Builder |
copy(ListServiceEnvironmentsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListServiceEnvironmentsRequest.Builder |
displayName(String displayName)
The display name of the resource.
|
ListServiceEnvironmentsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListServiceEnvironmentsRequest.Builder |
limit(Integer limit)
How many records to return.
|
ListServiceEnvironmentsRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
ListServiceEnvironmentsRequest.Builder |
page(String page)
The value of the
opc-next-page response header from the previous “List” call. |
ListServiceEnvironmentsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListServiceEnvironmentsRequest.Builder |
serviceEnvironmentId(String serviceEnvironmentId)
The unique identifier associated with the service environment.
|
ListServiceEnvironmentsRequest.Builder |
serviceEnvironmentType(String serviceEnvironmentType)
The environment’s service definition type.
|
ListServiceEnvironmentsRequest.Builder |
sortBy(ListServiceEnvironmentsRequest.SortBy sortBy)
The field to sort by.
|
ListServiceEnvironmentsRequest.Builder |
sortOrder(ListServiceEnvironmentsRequest.SortOrder sortOrder)
The sort order to use, either
ASC or DESC . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListServiceEnvironmentsRequest.Builder compartmentId(String compartmentId)
The OCID for the compartment.
compartmentId
- the value to setpublic ListServiceEnvironmentsRequest.Builder serviceEnvironmentId(String serviceEnvironmentId)
The unique identifier associated with the service environment.
*Note:** Not an [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
serviceEnvironmentId
- the value to setpublic 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”.
serviceEnvironmentType
- the value to setpublic 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.
opcRequestId
- the value to setpublic 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.
limit
- the value to setpublic ListServiceEnvironmentsRequest.Builder page(String page)
The value of the opc-next-page
response header from the previous “List” call.
page
- the value to setpublic ListServiceEnvironmentsRequest.Builder sortBy(ListServiceEnvironmentsRequest.SortBy sortBy)
The field to sort by. Only one sort order may be provided. ID is default ordered as ascending.
sortBy
- the value to setpublic ListServiceEnvironmentsRequest.Builder sortOrder(ListServiceEnvironmentsRequest.SortOrder sortOrder)
The sort order to use, either ASC
or DESC
.
sortOrder
- the value to setpublic ListServiceEnvironmentsRequest.Builder displayName(String displayName)
The display name of the resource.
displayName
- the value to setpublic ListServiceEnvironmentsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListServiceEnvironmentsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListServiceEnvironmentsRequest.Builder copy(ListServiceEnvironmentsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListServiceEnvironmentsRequest,Void>
o
- other request from which to copy valuespublic ListServiceEnvironmentsRequest build()
Build the instance of ListServiceEnvironmentsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListServiceEnvironmentsRequest,Void>
public ListServiceEnvironmentsRequest buildWithoutInvocationCallback()
Build the instance of ListServiceEnvironmentsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.