Class ListProtectionCapabilitiesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.waf.requests.ListProtectionCapabilitiesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListProtectionCapabilitiesRequest,Void>
- Enclosing class:
- ListProtectionCapabilitiesRequest
public static class ListProtectionCapabilitiesRequest.Builder extends Object implements BmcRequest.Builder<ListProtectionCapabilitiesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListProtectionCapabilitiesRequestbuild()Build the instance of ListProtectionCapabilitiesRequest as configured by this builderListProtectionCapabilitiesRequestbuildWithoutInvocationCallback()Build the instance of ListProtectionCapabilitiesRequest as configured by this builderListProtectionCapabilitiesRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment in which to list resources.ListProtectionCapabilitiesRequest.Buildercopy(ListProtectionCapabilitiesRequest o)Copy method to populate the builder with values from the given instance.ListProtectionCapabilitiesRequest.BuilderdisplayName(String displayName)A filter to return only resources that match the entire display name given.ListProtectionCapabilitiesRequest.BuildergroupTag(String singularValue)Singular setter.ListProtectionCapabilitiesRequest.BuildergroupTag(List<String> groupTag)A filter to return only resources that are accociated given group tag.ListProtectionCapabilitiesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListProtectionCapabilitiesRequest.BuilderisLatestVersion(Boolean singularValue)Singular setter.ListProtectionCapabilitiesRequest.BuilderisLatestVersion(List<Boolean> isLatestVersion)A filter to return only resources that matches given isLatestVersion.ListProtectionCapabilitiesRequest.Builderkey(String key)The unique key of protection capability to filter by.ListProtectionCapabilitiesRequest.Builderlimit(Integer limit)The maximum number of items to return.ListProtectionCapabilitiesRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListProtectionCapabilitiesRequest.Builderpage(String page)A token representing the position at which to start retrieving results.ListProtectionCapabilitiesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListProtectionCapabilitiesRequest.BuildersortBy(ListProtectionCapabilitiesRequest.SortBy sortBy)The field to sort by.ListProtectionCapabilitiesRequest.BuildersortOrder(SortOrder sortOrder)The sort order to use, either ‘ASC’ or ‘DESC’.ListProtectionCapabilitiesRequest.Buildertype(ProtectionCapabilitySummary.Type type)A filter to return only resources that matches given type.-
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 ListProtectionCapabilitiesRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment in which to list resources.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListProtectionCapabilitiesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
page
public ListProtectionCapabilitiesRequest.Builder page(String page)
A token representing the position at which to start retrieving results.This must come from the opc-next-page header field of a previous response.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
limit
public ListProtectionCapabilitiesRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
key
public ListProtectionCapabilitiesRequest.Builder key(String key)
The unique key of protection capability to filter by.- Parameters:
key- the value to set- Returns:
- this builder instance
-
isLatestVersion
public ListProtectionCapabilitiesRequest.Builder isLatestVersion(List<Boolean> isLatestVersion)
A filter to return only resources that matches given isLatestVersion.- Parameters:
isLatestVersion- the value to set- Returns:
- this builder instance
-
isLatestVersion
public ListProtectionCapabilitiesRequest.Builder isLatestVersion(Boolean singularValue)
Singular setter.A filter to return only resources that matches given isLatestVersion.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
type
public ListProtectionCapabilitiesRequest.Builder type(ProtectionCapabilitySummary.Type type)
A filter to return only resources that matches given type.- Parameters:
type- the value to set- Returns:
- this builder instance
-
groupTag
public ListProtectionCapabilitiesRequest.Builder groupTag(List<String> groupTag)
A filter to return only resources that are accociated given group tag.- Parameters:
groupTag- the value to set- Returns:
- this builder instance
-
groupTag
public ListProtectionCapabilitiesRequest.Builder groupTag(String singularValue)
Singular setter.A filter to return only resources that are accociated given group tag.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
displayName
public ListProtectionCapabilitiesRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given.- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
sortOrder
public ListProtectionCapabilitiesRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
sortBy
public ListProtectionCapabilitiesRequest.Builder sortBy(ListProtectionCapabilitiesRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Default order for key is descending. Default order for type is descending. Default order for displayName is ascending. If no value is specified key is default.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListProtectionCapabilitiesRequest.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 ListProtectionCapabilitiesRequest.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 ListProtectionCapabilitiesRequest.Builder copy(ListProtectionCapabilitiesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListProtectionCapabilitiesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListProtectionCapabilitiesRequest build()
Build the instance of ListProtectionCapabilitiesRequest 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 interfaceBmcRequest.Builder<ListProtectionCapabilitiesRequest,Void>- Returns:
- instance of ListProtectionCapabilitiesRequest
-
buildWithoutInvocationCallback
public ListProtectionCapabilitiesRequest buildWithoutInvocationCallback()
Build the instance of ListProtectionCapabilitiesRequest 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 ListProtectionCapabilitiesRequest
-
-