Class ListCryptoAssessmentBackupSetsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.requests.ListCryptoAssessmentBackupSetsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListCryptoAssessmentBackupSetsRequest,Void>
- Enclosing class:
- ListCryptoAssessmentBackupSetsRequest
public static class ListCryptoAssessmentBackupSetsRequest.Builder extends Object implements BmcRequest.Builder<ListCryptoAssessmentBackupSetsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListCryptoAssessmentBackupSetsRequest.BuilderaccessLevel(ListCryptoAssessmentBackupSetsRequest.AccessLevel accessLevel)Valid values are RESTRICTED and ACCESSIBLE.ListCryptoAssessmentBackupSetsRequest.BuilderassessmentId(String assessmentId)A filter to return only resources associated with the specified crypto assessment OCID.ListCryptoAssessmentBackupSetsRequest.BuilderassessmentType(CryptoAssessment.Type assessmentType)A filter to return targets from assessments of the specified type.ListCryptoAssessmentBackupSetsRequest.BuilderbackupSetKey(String backupSetKey)Filters backup set summary rows to an exact matching backupSetKey.ListCryptoAssessmentBackupSetsRequestbuild()Build the instance of ListCryptoAssessmentBackupSetsRequest as configured by this builderListCryptoAssessmentBackupSetsRequestbuildWithoutInvocationCallback()Build the instance of ListCryptoAssessmentBackupSetsRequest as configured by this builderListCryptoAssessmentBackupSetsRequest.BuildercompartmentId(String compartmentId)A filter to return only resources that match the specified compartment OCID.ListCryptoAssessmentBackupSetsRequest.BuildercompartmentIdInSubtree(Boolean compartmentIdInSubtree)Default is false.ListCryptoAssessmentBackupSetsRequest.Buildercopy(ListCryptoAssessmentBackupSetsRequest o)Copy method to populate the builder with values from the given instance.ListCryptoAssessmentBackupSetsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListCryptoAssessmentBackupSetsRequest.BuilderisEncrypted(Boolean isEncrypted)Filters backup set summary rows by whether the backup set is encrypted.ListCryptoAssessmentBackupSetsRequest.Builderlimit(Integer limit)For list pagination.ListCryptoAssessmentBackupSetsRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.ListCryptoAssessmentBackupSetsRequest.Builderpage(String page)For list pagination.ListCryptoAssessmentBackupSetsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListCryptoAssessmentBackupSetsRequest.BuildersortBy(ListCryptoAssessmentBackupSetsRequest.SortBy sortBy)The field used to sort backup set results.ListCryptoAssessmentBackupSetsRequest.BuildersortOrder(ListCryptoAssessmentBackupSetsRequest.SortOrder sortOrder)The sort order to use, either ascending (ASC) or descending (DESC).ListCryptoAssessmentBackupSetsRequest.BuildertargetId(String targetId)A filter to return only inventory rows associated with the specified target OCID.ListCryptoAssessmentBackupSetsRequest.BuildertargetIds(String singularValue)Singular setter.ListCryptoAssessmentBackupSetsRequest.BuildertargetIds(List<String> targetIds)A filter to return only resources associated with any of the specified target OCIDs.-
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 ListCryptoAssessmentBackupSetsRequest.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 ListCryptoAssessmentBackupSetsRequest.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 ListCryptoAssessmentBackupSetsRequest.Builder accessLevel(ListCryptoAssessmentBackupSetsRequest.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
-
assessmentId
public ListCryptoAssessmentBackupSetsRequest.Builder assessmentId(String assessmentId)
A filter to return only resources associated with the specified crypto assessment OCID.- Parameters:
assessmentId- the value to set- Returns:
- this builder instance
-
assessmentType
public ListCryptoAssessmentBackupSetsRequest.Builder assessmentType(CryptoAssessment.Type assessmentType)
A filter to return targets from assessments of the specified type.- Parameters:
assessmentType- the value to set- Returns:
- this builder instance
-
targetId
public ListCryptoAssessmentBackupSetsRequest.Builder targetId(String targetId)
A filter to return only inventory rows associated with the specified target OCID.- Parameters:
targetId- the value to set- Returns:
- this builder instance
-
targetIds
public ListCryptoAssessmentBackupSetsRequest.Builder targetIds(List<String> targetIds)
A filter to return only resources associated with any of the specified target OCIDs.- Parameters:
targetIds- the value to set- Returns:
- this builder instance
-
targetIds
public ListCryptoAssessmentBackupSetsRequest.Builder targetIds(String singularValue)
Singular setter.A filter to return only resources associated with any of the specified target OCIDs.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
backupSetKey
public ListCryptoAssessmentBackupSetsRequest.Builder backupSetKey(String backupSetKey)
Filters backup set summary rows to an exact matching backupSetKey.- Parameters:
backupSetKey- the value to set- Returns:
- this builder instance
-
isEncrypted
public ListCryptoAssessmentBackupSetsRequest.Builder isEncrypted(Boolean isEncrypted)
Filters backup set summary rows by whether the backup set is encrypted.- Parameters:
isEncrypted- the value to set- Returns:
- this builder instance
-
sortBy
public ListCryptoAssessmentBackupSetsRequest.Builder sortBy(ListCryptoAssessmentBackupSetsRequest.SortBy sortBy)
The field used to sort backup set results.- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
sortOrder
public ListCryptoAssessmentBackupSetsRequest.Builder sortOrder(ListCryptoAssessmentBackupSetsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListCryptoAssessmentBackupSetsRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
limit
public ListCryptoAssessmentBackupSetsRequest.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 ListCryptoAssessmentBackupSetsRequest.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 ListCryptoAssessmentBackupSetsRequest.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 ListCryptoAssessmentBackupSetsRequest.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 ListCryptoAssessmentBackupSetsRequest.Builder copy(ListCryptoAssessmentBackupSetsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListCryptoAssessmentBackupSetsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListCryptoAssessmentBackupSetsRequest build()
Build the instance of ListCryptoAssessmentBackupSetsRequest 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<ListCryptoAssessmentBackupSetsRequest,Void>- Returns:
- instance of ListCryptoAssessmentBackupSetsRequest
-
buildWithoutInvocationCallback
public ListCryptoAssessmentBackupSetsRequest buildWithoutInvocationCallback()
Build the instance of ListCryptoAssessmentBackupSetsRequest 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 ListCryptoAssessmentBackupSetsRequest
-
-