public static class ListRecoveryServiceSubnetsRequest.Builder extends Object implements BmcRequest.Builder<ListRecoveryServiceSubnetsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListRecoveryServiceSubnetsRequest |
build()
Build the instance of ListRecoveryServiceSubnetsRequest as configured by this builder
|
ListRecoveryServiceSubnetsRequest |
buildWithoutInvocationCallback()
Build the instance of ListRecoveryServiceSubnetsRequest as configured by this builder
|
ListRecoveryServiceSubnetsRequest.Builder |
compartmentId(String compartmentId)
The compartment OCID.
|
ListRecoveryServiceSubnetsRequest.Builder |
copy(ListRecoveryServiceSubnetsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListRecoveryServiceSubnetsRequest.Builder |
displayName(String displayName)
A filter to return only resources that match the entire ‘displayname’ given.
|
ListRecoveryServiceSubnetsRequest.Builder |
id(String id)
The recovery service subnet OCID.
|
ListRecoveryServiceSubnetsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListRecoveryServiceSubnetsRequest.Builder |
lifecycleState(LifecycleState lifecycleState)
A filter to return only the resources that match the specified lifecycle state.
|
ListRecoveryServiceSubnetsRequest.Builder |
limit(Integer limit)
The maximum number of items to return per page.
|
ListRecoveryServiceSubnetsRequest.Builder |
opcRequestId(String opcRequestId)
Unique identifier for the request.
|
ListRecoveryServiceSubnetsRequest.Builder |
page(String page)
The page token representing the page at which to start retrieving results.
|
ListRecoveryServiceSubnetsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListRecoveryServiceSubnetsRequest.Builder |
sortBy(ListRecoveryServiceSubnetsRequest.SortBy sortBy)
The field to sort by.
|
ListRecoveryServiceSubnetsRequest.Builder |
sortOrder(SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).
|
ListRecoveryServiceSubnetsRequest.Builder |
vcnId(String vcnId)
The OCID of the virtual cloud network (VCN) associated with the recovery service subnet.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListRecoveryServiceSubnetsRequest.Builder compartmentId(String compartmentId)
The compartment OCID.
compartmentId
- the value to setpublic ListRecoveryServiceSubnetsRequest.Builder lifecycleState(LifecycleState lifecycleState)
A filter to return only the resources that match the specified lifecycle state.
lifecycleState
- the value to setpublic ListRecoveryServiceSubnetsRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire ‘displayname’ given.
displayName
- the value to setpublic ListRecoveryServiceSubnetsRequest.Builder id(String id)
The recovery service subnet OCID.
id
- the value to setpublic ListRecoveryServiceSubnetsRequest.Builder vcnId(String vcnId)
The OCID of the virtual cloud network (VCN) associated with the recovery service subnet.
vcnId
- the value to setpublic ListRecoveryServiceSubnetsRequest.Builder limit(Integer limit)
The maximum number of items to return per page.
limit
- the value to setpublic ListRecoveryServiceSubnetsRequest.Builder page(String page)
The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
page
- the value to setpublic ListRecoveryServiceSubnetsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC). Allowed values are: - ASC - DESC
sortOrder
- the value to setpublic ListRecoveryServiceSubnetsRequest.Builder sortBy(ListRecoveryServiceSubnetsRequest.SortBy sortBy)
The field to sort by. You can provide one sort order (sortOrder). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If you do not specify a value, then TIMECREATED is used as the default sort order. Allowed values are:
sortBy
- the value to setpublic ListRecoveryServiceSubnetsRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.
opcRequestId
- the value to setpublic ListRecoveryServiceSubnetsRequest.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 ListRecoveryServiceSubnetsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListRecoveryServiceSubnetsRequest.Builder copy(ListRecoveryServiceSubnetsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListRecoveryServiceSubnetsRequest,Void>
o
- other request from which to copy valuespublic ListRecoveryServiceSubnetsRequest build()
Build the instance of ListRecoveryServiceSubnetsRequest 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<ListRecoveryServiceSubnetsRequest,Void>
public ListRecoveryServiceSubnetsRequest buildWithoutInvocationCallback()
Build the instance of ListRecoveryServiceSubnetsRequest 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.