Class ListCustomProtectionRulesRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.waas.requests.ListCustomProtectionRulesRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListCustomProtectionRulesRequest,Void>
 - Enclosing class:
- ListCustomProtectionRulesRequest
 
 public static class ListCustomProtectionRulesRequest.Builder extends Object implements BmcRequest.Builder<ListCustomProtectionRulesRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListCustomProtectionRulesRequestbuild()Build the instance of ListCustomProtectionRulesRequest as configured by this builderListCustomProtectionRulesRequestbuildWithoutInvocationCallback()Build the instance of ListCustomProtectionRulesRequest as configured by this builderListCustomProtectionRulesRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment.ListCustomProtectionRulesRequest.Buildercopy(ListCustomProtectionRulesRequest o)Copy method to populate the builder with values from the given instance.ListCustomProtectionRulesRequest.BuilderdisplayName(String singularValue)Singular setter.ListCustomProtectionRulesRequest.BuilderdisplayName(List<String> displayName)Filter custom protection rules using a list of display names.ListCustomProtectionRulesRequest.Builderid(String singularValue)Singular setter.ListCustomProtectionRulesRequest.Builderid(List<String> id)Filter custom protection rules using a list of custom protection rule OCIDs.ListCustomProtectionRulesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListCustomProtectionRulesRequest.BuilderlifecycleState(LifecycleStates singularValue)Singular setter.ListCustomProtectionRulesRequest.BuilderlifecycleState(List<LifecycleStates> lifecycleState)Filter Custom Protection rules using a list of lifecycle states.ListCustomProtectionRulesRequest.Builderlimit(Integer limit)The maximum number of items to return in a paginated call.ListCustomProtectionRulesRequest.BuilderopcRequestId(String opcRequestId)The unique Oracle-assigned identifier for the request.ListCustomProtectionRulesRequest.Builderpage(String page)The value of the opc-next-page response header from the previous paginated call.ListCustomProtectionRulesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListCustomProtectionRulesRequest.BuildersortBy(ListCustomProtectionRulesRequest.SortBy sortBy)The value by which custom protection rules are sorted in a paginated ‘List’ call.ListCustomProtectionRulesRequest.BuildersortOrder(ListCustomProtectionRulesRequest.SortOrder sortOrder)The value of the sorting direction of resources in a paginated ‘List’ call.ListCustomProtectionRulesRequest.BuildertimeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)A filter that matches Custom Protection rules created on or after the specified date-time.ListCustomProtectionRulesRequest.BuildertimeCreatedLessThan(Date timeCreatedLessThan)A filter that matches custom protection rules created before the specified date-time.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
compartmentIdpublic ListCustomProtectionRulesRequest.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
 
 - 
opcRequestIdpublic 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. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListCustomProtectionRulesRequest.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
 
 - 
pagepublic ListCustomProtectionRulesRequest.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
 
 - 
sortBypublic 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. - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListCustomProtectionRulesRequest.Builder sortOrder(ListCustomProtectionRulesRequest.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
 
 - 
idpublic ListCustomProtectionRulesRequest.Builder id(List<String> id) Filter custom protection rules using a list of custom protection rule OCIDs.- Parameters:
- id- the value to set
- Returns:
- this builder instance
 
 - 
idpublic ListCustomProtectionRulesRequest.Builder id(String singularValue) Singular setter.Filter custom protection rules using a list of custom protection rule OCIDs. - Parameters:
- singularValue- the singular value to set
- Returns:
- this builder instance
 
 - 
displayNamepublic ListCustomProtectionRulesRequest.Builder displayName(List<String> displayName) Filter custom protection rules using a list of display names.- Parameters:
- displayName- the value to set
- Returns:
- this builder instance
 
 - 
displayNamepublic ListCustomProtectionRulesRequest.Builder displayName(String singularValue) Singular setter.Filter custom protection rules using a list of display names. - Parameters:
- singularValue- the singular value to set
- Returns:
- this builder instance
 
 - 
lifecycleStatepublic ListCustomProtectionRulesRequest.Builder lifecycleState(List<LifecycleStates> lifecycleState) Filter Custom Protection rules using a list of lifecycle states.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder instance
 
 - 
lifecycleStatepublic ListCustomProtectionRulesRequest.Builder lifecycleState(LifecycleStates singularValue) Singular setter.Filter Custom Protection rules using a list of lifecycle states. - Parameters:
- singularValue- the singular value to set
- Returns:
- this builder instance
 
 - 
timeCreatedGreaterThanOrEqualTopublic ListCustomProtectionRulesRequest.Builder timeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo) A filter that matches Custom Protection rules created on or after the specified date-time.- Parameters:
- timeCreatedGreaterThanOrEqualTo- the value to set
- Returns:
- this builder instance
 
 - 
timeCreatedLessThanpublic ListCustomProtectionRulesRequest.Builder timeCreatedLessThan(Date timeCreatedLessThan) A filter that matches custom protection rules created before the specified date-time.- Parameters:
- timeCreatedLessThan- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListCustomProtectionRulesRequest.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
 
 - 
retryConfigurationpublic ListCustomProtectionRulesRequest.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
 
 - 
copypublic ListCustomProtectionRulesRequest.Builder copy(ListCustomProtectionRulesRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListCustomProtectionRulesRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListCustomProtectionRulesRequest build() Build the instance of ListCustomProtectionRulesRequest 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:
- buildin interface- BmcRequest.Builder<ListCustomProtectionRulesRequest,Void>
- Returns:
- instance of ListCustomProtectionRulesRequest
 
 - 
buildWithoutInvocationCallbackpublic ListCustomProtectionRulesRequest buildWithoutInvocationCallback() Build the instance of ListCustomProtectionRulesRequest 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 ListCustomProtectionRulesRequest
 
 
- 
 
-