Class ListCryptoAssessmentsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.requests.ListCryptoAssessmentsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListCryptoAssessmentsRequest,Void>
- Enclosing class:
- ListCryptoAssessmentsRequest
public static class ListCryptoAssessmentsRequest.Builder extends Object implements BmcRequest.Builder<ListCryptoAssessmentsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListCryptoAssessmentsRequest.BuilderaccessLevel(ListCryptoAssessmentsRequest.AccessLevel accessLevel)Valid values are RESTRICTED and ACCESSIBLE.ListCryptoAssessmentsRequest.BuilderassessmentId(String assessmentId)A filter to return only resources associated with the specified crypto assessment OCID.ListCryptoAssessmentsRequestbuild()Build the instance of ListCryptoAssessmentsRequest as configured by this builderListCryptoAssessmentsRequestbuildWithoutInvocationCallback()Build the instance of ListCryptoAssessmentsRequest as configured by this builderListCryptoAssessmentsRequest.BuildercompartmentId(String compartmentId)A filter to return only resources that match the specified compartment OCID.ListCryptoAssessmentsRequest.BuildercompartmentIdInSubtree(Boolean compartmentIdInSubtree)Default is false.ListCryptoAssessmentsRequest.Buildercopy(ListCryptoAssessmentsRequest o)Copy method to populate the builder with values from the given instance.ListCryptoAssessmentsRequest.BuilderdisplayName(String displayName)A filter to return only resources that match the specified display name.ListCryptoAssessmentsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListCryptoAssessmentsRequest.BuilderisAssessmentScheduled(Boolean isAssessmentScheduled)A filter to return only crypto assessments whose scheduled execution state matches the specified value.ListCryptoAssessmentsRequest.BuilderlifecycleState(CryptoAssessment.LifecycleState lifecycleState)A filter to return only resources that match the specified lifecycle state.ListCryptoAssessmentsRequest.Builderlimit(Integer limit)For list pagination.ListCryptoAssessmentsRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.ListCryptoAssessmentsRequest.Builderpage(String page)For list pagination.ListCryptoAssessmentsRequest.BuilderpostureCategory(CryptoPostureCategory singularValue)Singular setter.ListCryptoAssessmentsRequest.BuilderpostureCategory(List<CryptoPostureCategory> postureCategory)A filter to return only crypto assessments that match any of the specified posture categories.ListCryptoAssessmentsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListCryptoAssessmentsRequest.BuildersortBy(ListCryptoAssessmentsRequest.SortBy sortBy)The field used to sort crypto assessments.ListCryptoAssessmentsRequest.BuildersortOrder(ListCryptoAssessmentsRequest.SortOrder sortOrder)The sort order to use, either ascending (ASC) or descending (DESC).ListCryptoAssessmentsRequest.BuildertargetDatabaseGroupId(String targetDatabaseGroupId)A filter to return the target database group that matches the specified OCID.ListCryptoAssessmentsRequest.BuildertargetId(String targetId)A filter to return only crypto assessments associated with the specified target OCID.ListCryptoAssessmentsRequest.BuildertargetIds(String singularValue)Singular setter.ListCryptoAssessmentsRequest.BuildertargetIds(List<String> targetIds)A filter to return only resources associated with any of the specified target OCIDs.ListCryptoAssessmentsRequest.BuildertargetType(CryptoAssessment.TargetType targetType)A filter to return crypto assessments belonging to the specified target type.ListCryptoAssessmentsRequest.Buildertype(CryptoAssessment.Type type)A filter to return only crypto assessments that match the specified 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 ListCryptoAssessmentsRequest.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 ListCryptoAssessmentsRequest.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 ListCryptoAssessmentsRequest.Builder accessLevel(ListCryptoAssessmentsRequest.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
-
displayName
public ListCryptoAssessmentsRequest.Builder displayName(String displayName)
A filter to return only resources that match the specified display name.- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
type
public ListCryptoAssessmentsRequest.Builder type(CryptoAssessment.Type type)
A filter to return only crypto assessments that match the specified type.- Parameters:
type- the value to set- Returns:
- this builder instance
-
assessmentId
public ListCryptoAssessmentsRequest.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
-
targetId
public ListCryptoAssessmentsRequest.Builder targetId(String targetId)
A filter to return only crypto assessments associated with the specified target OCID.When provided, targetType must also be specified.
- Parameters:
targetId- the value to set- Returns:
- this builder instance
-
targetIds
public ListCryptoAssessmentsRequest.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 ListCryptoAssessmentsRequest.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
-
targetDatabaseGroupId
public ListCryptoAssessmentsRequest.Builder targetDatabaseGroupId(String targetDatabaseGroupId)
A filter to return the target database group that matches the specified OCID.- Parameters:
targetDatabaseGroupId- the value to set- Returns:
- this builder instance
-
targetType
public ListCryptoAssessmentsRequest.Builder targetType(CryptoAssessment.TargetType targetType)
A filter to return crypto assessments belonging to the specified target type.ListCryptoAssessments returns assessment rows; use targetDatabaseGroupId to list the underlying target database assessments for a group.
- Parameters:
targetType- the value to set- Returns:
- this builder instance
-
postureCategory
public ListCryptoAssessmentsRequest.Builder postureCategory(List<CryptoPostureCategory> postureCategory)
A filter to return only crypto assessments that match any of the specified posture categories.- Parameters:
postureCategory- the value to set- Returns:
- this builder instance
-
postureCategory
public ListCryptoAssessmentsRequest.Builder postureCategory(CryptoPostureCategory singularValue)
Singular setter.A filter to return only crypto assessments that match any of the specified posture categories.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
isAssessmentScheduled
public ListCryptoAssessmentsRequest.Builder isAssessmentScheduled(Boolean isAssessmentScheduled)
A filter to return only crypto assessments whose scheduled execution state matches the specified value.- Parameters:
isAssessmentScheduled- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListCryptoAssessmentsRequest.Builder lifecycleState(CryptoAssessment.LifecycleState lifecycleState)
A filter to return only resources that match the specified lifecycle state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
sortBy
public ListCryptoAssessmentsRequest.Builder sortBy(ListCryptoAssessmentsRequest.SortBy sortBy)
The field used to sort crypto assessments.You can specify only one sort order (sortOrder).
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
sortOrder
public ListCryptoAssessmentsRequest.Builder sortOrder(ListCryptoAssessmentsRequest.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 ListCryptoAssessmentsRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
limit
public ListCryptoAssessmentsRequest.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 ListCryptoAssessmentsRequest.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 ListCryptoAssessmentsRequest.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 ListCryptoAssessmentsRequest.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 ListCryptoAssessmentsRequest.Builder copy(ListCryptoAssessmentsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListCryptoAssessmentsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListCryptoAssessmentsRequest build()
Build the instance of ListCryptoAssessmentsRequest 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<ListCryptoAssessmentsRequest,Void>- Returns:
- instance of ListCryptoAssessmentsRequest
-
buildWithoutInvocationCallback
public ListCryptoAssessmentsRequest buildWithoutInvocationCallback()
Build the instance of ListCryptoAssessmentsRequest 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 ListCryptoAssessmentsRequest
-
-