Class ListSecurityAttributesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.securityattribute.requests.ListSecurityAttributesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListSecurityAttributesRequest,Void>
- Enclosing class:
- ListSecurityAttributesRequest
public static class ListSecurityAttributesRequest.Builder extends Object implements BmcRequest.Builder<ListSecurityAttributesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSecurityAttributesRequest
build()
Build the instance of ListSecurityAttributesRequest as configured by this builderListSecurityAttributesRequest
buildWithoutInvocationCallback()
Build the instance of ListSecurityAttributesRequest as configured by this builderListSecurityAttributesRequest.Builder
copy(ListSecurityAttributesRequest o)
Copy method to populate the builder with values from the given instance.ListSecurityAttributesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListSecurityAttributesRequest.Builder
lifecycleState(SecurityAttribute.LifecycleState lifecycleState)
A filter to only return resources that match the given lifecycle state.ListSecurityAttributesRequest.Builder
limit(Integer limit)
The maximum number of items to return in a paginated “List” call.ListSecurityAttributesRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.ListSecurityAttributesRequest.Builder
page(String page)
The value of the opc-next-page response header from the previous “List” call.ListSecurityAttributesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListSecurityAttributesRequest.Builder
securityAttributeNamespaceId(String securityAttributeNamespaceId)
The OCID of the security attribute namespace.-
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
-
securityAttributeNamespaceId
public ListSecurityAttributesRequest.Builder securityAttributeNamespaceId(String securityAttributeNamespaceId)
The OCID of the security attribute namespace.- Parameters:
securityAttributeNamespaceId
- the value to set- Returns:
- this builder instance
-
page
public ListSecurityAttributesRequest.Builder page(String page)
The value of the opc-next-page response header from the previous “List” call.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
limit
public ListSecurityAttributesRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated “List” call.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListSecurityAttributesRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListSecurityAttributesRequest.Builder lifecycleState(SecurityAttribute.LifecycleState lifecycleState)
A filter to only return resources that match the given lifecycle state.The state value is case-insensitive.
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListSecurityAttributesRequest.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 ListSecurityAttributesRequest.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 ListSecurityAttributesRequest.Builder copy(ListSecurityAttributesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListSecurityAttributesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListSecurityAttributesRequest build()
Build the instance of ListSecurityAttributesRequest 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<ListSecurityAttributesRequest,Void>
- Returns:
- instance of ListSecurityAttributesRequest
-
buildWithoutInvocationCallback
public ListSecurityAttributesRequest buildWithoutInvocationCallback()
Build the instance of ListSecurityAttributesRequest 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 ListSecurityAttributesRequest
-
-