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