public static class ListWaasPoliciesRequest.Builder extends Object implements BmcRequest.Builder<ListWaasPoliciesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListWaasPoliciesRequest |
build()
Build the instance of ListWaasPoliciesRequest as configured by this builder
|
ListWaasPoliciesRequest |
buildWithoutInvocationCallback()
Build the instance of ListWaasPoliciesRequest as configured by this builder
|
ListWaasPoliciesRequest.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment.
|
ListWaasPoliciesRequest.Builder |
copy(ListWaasPoliciesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListWaasPoliciesRequest.Builder |
displayName(List<String> displayName)
Filter policies using a list of display names.
|
ListWaasPoliciesRequest.Builder |
displayName(String singularValue)
Singular setter.
|
ListWaasPoliciesRequest.Builder |
id(List<String> id)
Filter policies using a list of policy OCIDs.
|
ListWaasPoliciesRequest.Builder |
id(String singularValue)
Singular setter.
|
ListWaasPoliciesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListWaasPoliciesRequest.Builder |
lifecycleState(LifecycleStates singularValue)
Singular setter.
|
ListWaasPoliciesRequest.Builder |
lifecycleState(List<LifecycleStates> lifecycleState)
Filter policies using a list of lifecycle states.
|
ListWaasPoliciesRequest.Builder |
limit(Integer limit)
The maximum number of items to return in a paginated call.
|
ListWaasPoliciesRequest.Builder |
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.
|
ListWaasPoliciesRequest.Builder |
page(String page)
The value of the
opc-next-page response header from the previous paginated call. |
ListWaasPoliciesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListWaasPoliciesRequest.Builder |
sortBy(ListWaasPoliciesRequest.SortBy sortBy)
The value by which policies are sorted in a paginated ‘List’ call.
|
ListWaasPoliciesRequest.Builder |
sortOrder(ListWaasPoliciesRequest.SortOrder sortOrder)
The value of the sorting direction of resources in a paginated ‘List’ call.
|
ListWaasPoliciesRequest.Builder |
timeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)
A filter that matches policies created on or after the specified date and time.
|
ListWaasPoliciesRequest.Builder |
timeCreatedLessThan(Date timeCreatedLessThan)
A filter that matches policies created before the specified date-time.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListWaasPoliciesRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment. This number is generated when the compartment is created.
compartmentId
- the value to setpublic ListWaasPoliciesRequest.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.
opcRequestId
- the value to setpublic ListWaasPoliciesRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated call. If unspecified, defaults to
10
.
limit
- the value to setpublic ListWaasPoliciesRequest.Builder page(String page)
The value of the opc-next-page
response header from the previous paginated call.
page
- the value to setpublic ListWaasPoliciesRequest.Builder sortBy(ListWaasPoliciesRequest.SortBy sortBy)
The value by which policies are sorted in a paginated ‘List’ call. If unspecified,
defaults to timeCreated
.
sortBy
- the value to setpublic ListWaasPoliciesRequest.Builder sortOrder(ListWaasPoliciesRequest.SortOrder sortOrder)
The value of the sorting direction of resources in a paginated ‘List’ call. If
unspecified, defaults to DESC
.
sortOrder
- the value to setpublic ListWaasPoliciesRequest.Builder id(List<String> id)
Filter policies using a list of policy OCIDs.
id
- the value to setpublic ListWaasPoliciesRequest.Builder id(String singularValue)
Singular setter. Filter policies using a list of policy OCIDs.
singularValue
- the singular value to setpublic ListWaasPoliciesRequest.Builder displayName(List<String> displayName)
Filter policies using a list of display names.
displayName
- the value to setpublic ListWaasPoliciesRequest.Builder displayName(String singularValue)
Singular setter. Filter policies using a list of display names.
singularValue
- the singular value to setpublic ListWaasPoliciesRequest.Builder lifecycleState(List<LifecycleStates> lifecycleState)
Filter policies using a list of lifecycle states.
lifecycleState
- the value to setpublic ListWaasPoliciesRequest.Builder lifecycleState(LifecycleStates singularValue)
Singular setter. Filter policies using a list of lifecycle states.
singularValue
- the singular value to setpublic ListWaasPoliciesRequest.Builder timeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)
A filter that matches policies created on or after the specified date and time.
timeCreatedGreaterThanOrEqualTo
- the value to setpublic ListWaasPoliciesRequest.Builder timeCreatedLessThan(Date timeCreatedLessThan)
A filter that matches policies created before the specified date-time.
timeCreatedLessThan
- the value to setpublic ListWaasPoliciesRequest.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 ListWaasPoliciesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListWaasPoliciesRequest.Builder copy(ListWaasPoliciesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListWaasPoliciesRequest,Void>
o
- other request from which to copy valuespublic ListWaasPoliciesRequest build()
Build the instance of ListWaasPoliciesRequest 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<ListWaasPoliciesRequest,Void>
public ListWaasPoliciesRequest buildWithoutInvocationCallback()
Build the instance of ListWaasPoliciesRequest 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.