Class ListSecurityFeaturesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.requests.ListSecurityFeaturesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListSecurityFeaturesRequest,Void>
- Enclosing class:
- ListSecurityFeaturesRequest
public static class ListSecurityFeaturesRequest.Builder extends Object implements BmcRequest.Builder<ListSecurityFeaturesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSecurityFeaturesRequest.Builder
accessLevel(ListSecurityFeaturesRequest.AccessLevel accessLevel)
Valid values are RESTRICTED and ACCESSIBLE.ListSecurityFeaturesRequest
build()
Build the instance of ListSecurityFeaturesRequest as configured by this builderListSecurityFeaturesRequest
buildWithoutInvocationCallback()
Build the instance of ListSecurityFeaturesRequest as configured by this builderListSecurityFeaturesRequest.Builder
compartmentId(String compartmentId)
A filter to return only resources that match the specified compartment OCID.ListSecurityFeaturesRequest.Builder
compartmentIdInSubtree(Boolean compartmentIdInSubtree)
Default is false.ListSecurityFeaturesRequest.Builder
copy(ListSecurityFeaturesRequest o)
Copy method to populate the builder with values from the given instance.ListSecurityFeaturesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListSecurityFeaturesRequest.Builder
limit(Integer limit)
For list pagination.ListSecurityFeaturesRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ListSecurityFeaturesRequest.Builder
page(String page)
For list pagination.ListSecurityFeaturesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListSecurityFeaturesRequest.Builder
targetId(String targetId)
A filter to return only items related to a specific target OCID.ListSecurityFeaturesRequest.Builder
targetsWithColumnEncryption(ListSecurityFeaturesRequest.TargetsWithColumnEncryption targetsWithColumnEncryption)
A filter to return only the targets that enable the DB security feature - Column Encryption enabled/disabled.ListSecurityFeaturesRequest.Builder
targetsWithDatabaseVault(ListSecurityFeaturesRequest.TargetsWithDatabaseVault targetsWithDatabaseVault)
A filter to return only the targets with the DB security feature - Database Vault enabled/disabled.ListSecurityFeaturesRequest.Builder
targetsWithExternalAuthentication(ListSecurityFeaturesRequest.TargetsWithExternalAuthentication targetsWithExternalAuthentication)
A filter to return only the targets with the DB security feature - External Authentication enabled/disabled.ListSecurityFeaturesRequest.Builder
targetsWithFineGrainedAudit(ListSecurityFeaturesRequest.TargetsWithFineGrainedAudit targetsWithFineGrainedAudit)
A filter to return only the targets with the DB security feature - Fine Grained Audit enabled/disabled.ListSecurityFeaturesRequest.Builder
targetsWithGlobalAuthentication(ListSecurityFeaturesRequest.TargetsWithGlobalAuthentication targetsWithGlobalAuthentication)
A filter to return only the targets with the DB security feature - Global Authentication enabled/disabled.ListSecurityFeaturesRequest.Builder
targetsWithNetworkEncryption(ListSecurityFeaturesRequest.TargetsWithNetworkEncryption targetsWithNetworkEncryption)
A filter to return only the targets with the DB security feature - Network Encryption enabled/disabled.ListSecurityFeaturesRequest.Builder
targetsWithPasswordAuthentication(ListSecurityFeaturesRequest.TargetsWithPasswordAuthentication targetsWithPasswordAuthentication)
A filter to return only the targets with the DB security feature - Password Authentication enabled/disabled.ListSecurityFeaturesRequest.Builder
targetsWithPrivilegeAnalysis(ListSecurityFeaturesRequest.TargetsWithPrivilegeAnalysis targetsWithPrivilegeAnalysis)
A filter to return only the targets with the DB security feature - Privilege Analysis enabled/disabled.ListSecurityFeaturesRequest.Builder
targetsWithTablespaceEncryption(ListSecurityFeaturesRequest.TargetsWithTablespaceEncryption targetsWithTablespaceEncryption)
A filter to return only the targets with the DB security feature - Tablespace Encryption enabled/disabled.ListSecurityFeaturesRequest.Builder
targetsWithTraditionalAudit(ListSecurityFeaturesRequest.TargetsWithTraditionalAudit targetsWithTraditionalAudit)
A filter to return only the targets with the DB security feature - Traditional Audit enabled/disabled.ListSecurityFeaturesRequest.Builder
targetsWithUnifiedAudit(ListSecurityFeaturesRequest.TargetsWithUnifiedAudit targetsWithUnifiedAudit)
A filter to return only the targets with the DB security feature - Unified Audit enabled/disabled.-
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 ListSecurityFeaturesRequest.Builder compartmentId(String compartmentId)
A filter to return only resources that match the specified compartment OCID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
compartmentIdInSubtree
public ListSecurityFeaturesRequest.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree)
Default is false.When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the ‘accessLevel’ setting.
- Parameters:
compartmentIdInSubtree
- the value to set- Returns:
- this builder instance
-
accessLevel
public ListSecurityFeaturesRequest.Builder accessLevel(ListSecurityFeaturesRequest.AccessLevel accessLevel)
Valid values are RESTRICTED and ACCESSIBLE.Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- Parameters:
accessLevel
- the value to set- Returns:
- this builder instance
-
targetId
public ListSecurityFeaturesRequest.Builder targetId(String targetId)
A filter to return only items related to a specific target OCID.- Parameters:
targetId
- the value to set- Returns:
- this builder instance
-
targetsWithUnifiedAudit
public ListSecurityFeaturesRequest.Builder targetsWithUnifiedAudit(ListSecurityFeaturesRequest.TargetsWithUnifiedAudit targetsWithUnifiedAudit)
A filter to return only the targets with the DB security feature - Unified Audit enabled/disabled.- Parameters:
targetsWithUnifiedAudit
- the value to set- Returns:
- this builder instance
-
targetsWithFineGrainedAudit
public ListSecurityFeaturesRequest.Builder targetsWithFineGrainedAudit(ListSecurityFeaturesRequest.TargetsWithFineGrainedAudit targetsWithFineGrainedAudit)
A filter to return only the targets with the DB security feature - Fine Grained Audit enabled/disabled.- Parameters:
targetsWithFineGrainedAudit
- the value to set- Returns:
- this builder instance
-
targetsWithTraditionalAudit
public ListSecurityFeaturesRequest.Builder targetsWithTraditionalAudit(ListSecurityFeaturesRequest.TargetsWithTraditionalAudit targetsWithTraditionalAudit)
A filter to return only the targets with the DB security feature - Traditional Audit enabled/disabled.- Parameters:
targetsWithTraditionalAudit
- the value to set- Returns:
- this builder instance
-
targetsWithDatabaseVault
public ListSecurityFeaturesRequest.Builder targetsWithDatabaseVault(ListSecurityFeaturesRequest.TargetsWithDatabaseVault targetsWithDatabaseVault)
A filter to return only the targets with the DB security feature - Database Vault enabled/disabled.- Parameters:
targetsWithDatabaseVault
- the value to set- Returns:
- this builder instance
-
targetsWithPrivilegeAnalysis
public ListSecurityFeaturesRequest.Builder targetsWithPrivilegeAnalysis(ListSecurityFeaturesRequest.TargetsWithPrivilegeAnalysis targetsWithPrivilegeAnalysis)
A filter to return only the targets with the DB security feature - Privilege Analysis enabled/disabled.- Parameters:
targetsWithPrivilegeAnalysis
- the value to set- Returns:
- this builder instance
-
targetsWithTablespaceEncryption
public ListSecurityFeaturesRequest.Builder targetsWithTablespaceEncryption(ListSecurityFeaturesRequest.TargetsWithTablespaceEncryption targetsWithTablespaceEncryption)
A filter to return only the targets with the DB security feature - Tablespace Encryption enabled/disabled.- Parameters:
targetsWithTablespaceEncryption
- the value to set- Returns:
- this builder instance
-
targetsWithColumnEncryption
public ListSecurityFeaturesRequest.Builder targetsWithColumnEncryption(ListSecurityFeaturesRequest.TargetsWithColumnEncryption targetsWithColumnEncryption)
A filter to return only the targets that enable the DB security feature - Column Encryption enabled/disabled.- Parameters:
targetsWithColumnEncryption
- the value to set- Returns:
- this builder instance
-
targetsWithNetworkEncryption
public ListSecurityFeaturesRequest.Builder targetsWithNetworkEncryption(ListSecurityFeaturesRequest.TargetsWithNetworkEncryption targetsWithNetworkEncryption)
A filter to return only the targets with the DB security feature - Network Encryption enabled/disabled.- Parameters:
targetsWithNetworkEncryption
- the value to set- Returns:
- this builder instance
-
targetsWithPasswordAuthentication
public ListSecurityFeaturesRequest.Builder targetsWithPasswordAuthentication(ListSecurityFeaturesRequest.TargetsWithPasswordAuthentication targetsWithPasswordAuthentication)
A filter to return only the targets with the DB security feature - Password Authentication enabled/disabled.- Parameters:
targetsWithPasswordAuthentication
- the value to set- Returns:
- this builder instance
-
targetsWithGlobalAuthentication
public ListSecurityFeaturesRequest.Builder targetsWithGlobalAuthentication(ListSecurityFeaturesRequest.TargetsWithGlobalAuthentication targetsWithGlobalAuthentication)
A filter to return only the targets with the DB security feature - Global Authentication enabled/disabled.- Parameters:
targetsWithGlobalAuthentication
- the value to set- Returns:
- this builder instance
-
targetsWithExternalAuthentication
public ListSecurityFeaturesRequest.Builder targetsWithExternalAuthentication(ListSecurityFeaturesRequest.TargetsWithExternalAuthentication targetsWithExternalAuthentication)
A filter to return only the targets with the DB security feature - External Authentication enabled/disabled.- Parameters:
targetsWithExternalAuthentication
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListSecurityFeaturesRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
limit
public ListSecurityFeaturesRequest.Builder limit(Integer limit)
For list pagination.The maximum number of items to return per page in a paginated “List” call. For details about how pagination works, see List Pagination.
- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListSecurityFeaturesRequest.Builder page(String page)
For list pagination.The page token representing the page at which to start retrieving results. It is usually retrieved from a previous “List” call. For details about how pagination works, see List Pagination.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListSecurityFeaturesRequest.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 ListSecurityFeaturesRequest.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 ListSecurityFeaturesRequest.Builder copy(ListSecurityFeaturesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListSecurityFeaturesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListSecurityFeaturesRequest build()
Build the instance of ListSecurityFeaturesRequest 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<ListSecurityFeaturesRequest,Void>
- Returns:
- instance of ListSecurityFeaturesRequest
-
buildWithoutInvocationCallback
public ListSecurityFeaturesRequest buildWithoutInvocationCallback()
Build the instance of ListSecurityFeaturesRequest 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 ListSecurityFeaturesRequest
-
-