Package com.oracle.bmc.recovery.requests
Class ListRecoveryServiceSubnetsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.recovery.requests.ListRecoveryServiceSubnetsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListRecoveryServiceSubnetsRequest,Void>
- Enclosing class:
- ListRecoveryServiceSubnetsRequest
public static class ListRecoveryServiceSubnetsRequest.Builder extends Object implements BmcRequest.Builder<ListRecoveryServiceSubnetsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListRecoveryServiceSubnetsRequest
build()
Build the instance of ListRecoveryServiceSubnetsRequest as configured by this builderListRecoveryServiceSubnetsRequest
buildWithoutInvocationCallback()
Build the instance of ListRecoveryServiceSubnetsRequest as configured by this builderListRecoveryServiceSubnetsRequest.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.-
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 ListRecoveryServiceSubnetsRequest.Builder compartmentId(String compartmentId)
The compartment OCID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListRecoveryServiceSubnetsRequest.Builder lifecycleState(LifecycleState lifecycleState)
A filter to return only the resources that match the specified lifecycle state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
displayName
public ListRecoveryServiceSubnetsRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire ‘displayname’ given.- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
id
public ListRecoveryServiceSubnetsRequest.Builder id(String id)
The recovery service subnet OCID.- Parameters:
id
- the value to set- Returns:
- this builder instance
-
vcnId
public ListRecoveryServiceSubnetsRequest.Builder vcnId(String vcnId)
The OCID of the virtual cloud network (VCN) associated with the recovery service subnet.- Parameters:
vcnId
- the value to set- Returns:
- this builder instance
-
limit
public ListRecoveryServiceSubnetsRequest.Builder limit(Integer limit)
The maximum number of items to return per page.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public 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.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListRecoveryServiceSubnetsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).Allowed values are: - ASC - DESC
- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public 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:
- TIMECREATED - DISPLAYNAME
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListRecoveryServiceSubnetsRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListRecoveryServiceSubnetsRequest.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 ListRecoveryServiceSubnetsRequest.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 ListRecoveryServiceSubnetsRequest.Builder copy(ListRecoveryServiceSubnetsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListRecoveryServiceSubnetsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListRecoveryServiceSubnetsRequest build()
Build the instance of ListRecoveryServiceSubnetsRequest 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<ListRecoveryServiceSubnetsRequest,Void>
- Returns:
- instance of ListRecoveryServiceSubnetsRequest
-
buildWithoutInvocationCallback
public ListRecoveryServiceSubnetsRequest buildWithoutInvocationCallback()
Build the instance of ListRecoveryServiceSubnetsRequest 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 ListRecoveryServiceSubnetsRequest
-
-