Class ListAddressListsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.waas.requests.ListAddressListsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListAddressListsRequest,Void>
- Enclosing class:
- ListAddressListsRequest
public static class ListAddressListsRequest.Builder extends Object implements BmcRequest.Builder<ListAddressListsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAddressListsRequest
build()
Build the instance of ListAddressListsRequest as configured by this builderListAddressListsRequest
buildWithoutInvocationCallback()
Build the instance of ListAddressListsRequest as configured by this builderListAddressListsRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment.ListAddressListsRequest.Builder
copy(ListAddressListsRequest o)
Copy method to populate the builder with values from the given instance.ListAddressListsRequest.Builder
id(String singularValue)
Singular setter.ListAddressListsRequest.Builder
id(List<String> id)
Filter address lists using a list of address lists OCIDs.ListAddressListsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListAddressListsRequest.Builder
lifecycleState(LifecycleStates singularValue)
Singular setter.ListAddressListsRequest.Builder
lifecycleState(List<LifecycleStates> lifecycleState)
Filter address lists using a list of lifecycle states.ListAddressListsRequest.Builder
limit(Integer limit)
The maximum number of items to return in a paginated call.ListAddressListsRequest.Builder
name(String singularValue)
Singular setter.ListAddressListsRequest.Builder
name(List<String> name)
Filter address lists using a list of names.ListAddressListsRequest.Builder
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.ListAddressListsRequest.Builder
page(String page)
The value of the opc-next-page response header from the previous paginated call.ListAddressListsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListAddressListsRequest.Builder
sortBy(ListAddressListsRequest.SortBy sortBy)
The value by which address lists are sorted in a paginated ‘List’ call.ListAddressListsRequest.Builder
sortOrder(ListAddressListsRequest.SortOrder sortOrder)
The value of the sorting direction of resources in a paginated ‘List’ call.ListAddressListsRequest.Builder
timeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)
A filter that matches address lists created on or after the specified date-time.ListAddressListsRequest.Builder
timeCreatedLessThan(Date timeCreatedLessThan)
A filter that matches address lists created before the specified date-time.-
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 ListAddressListsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment.This number is generated when the compartment is created.
- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListAddressListsRequest.Builder opcRequestId(String opcRequestId)
The 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 ListAddressListsRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated call.If unspecified, defaults to 10.
- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListAddressListsRequest.Builder page(String page)
The value of the opc-next-page response header from the previous paginated call.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortBy
public ListAddressListsRequest.Builder sortBy(ListAddressListsRequest.SortBy sortBy)
The value by which address lists are sorted in a paginated ‘List’ call.If unspecified, defaults to timeCreated.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListAddressListsRequest.Builder sortOrder(ListAddressListsRequest.SortOrder sortOrder)
The value of the sorting direction of resources in a paginated ‘List’ call.If unspecified, defaults to DESC.
- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
id
public ListAddressListsRequest.Builder id(List<String> id)
Filter address lists using a list of address lists OCIDs.- Parameters:
id
- the value to set- Returns:
- this builder instance
-
id
public ListAddressListsRequest.Builder id(String singularValue)
Singular setter.Filter address lists using a list of address lists OCIDs.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
name
public ListAddressListsRequest.Builder name(List<String> name)
Filter address lists using a list of names.- Parameters:
name
- the value to set- Returns:
- this builder instance
-
name
public ListAddressListsRequest.Builder name(String singularValue)
Singular setter.Filter address lists using a list of names.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
lifecycleState
public ListAddressListsRequest.Builder lifecycleState(List<LifecycleStates> lifecycleState)
Filter address lists using a list of lifecycle states.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListAddressListsRequest.Builder lifecycleState(LifecycleStates singularValue)
Singular setter.Filter address lists using a list of lifecycle states.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
timeCreatedGreaterThanOrEqualTo
public ListAddressListsRequest.Builder timeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)
A filter that matches address lists created on or after the specified date-time.- Parameters:
timeCreatedGreaterThanOrEqualTo
- the value to set- Returns:
- this builder instance
-
timeCreatedLessThan
public ListAddressListsRequest.Builder timeCreatedLessThan(Date timeCreatedLessThan)
A filter that matches address lists created before the specified date-time.- Parameters:
timeCreatedLessThan
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListAddressListsRequest.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 ListAddressListsRequest.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 ListAddressListsRequest.Builder copy(ListAddressListsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListAddressListsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListAddressListsRequest build()
Build the instance of ListAddressListsRequest 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<ListAddressListsRequest,Void>
- Returns:
- instance of ListAddressListsRequest
-
buildWithoutInvocationCallback
public ListAddressListsRequest buildWithoutInvocationCallback()
Build the instance of ListAddressListsRequest 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 ListAddressListsRequest
-
-