Class ListChecksRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • securityAssessmentId

        public ListChecksRequest.Builder securityAssessmentId​(String securityAssessmentId)
        The OCID of the security assessment.
        Parameters:
        securityAssessmentId - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public ListChecksRequest.Builder opcRequestId​(String opcRequestId)
        Unique identifier for the request.
        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder instance
      • limit

        public ListChecksRequest.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 ListChecksRequest.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
      • sortBy

        public ListChecksRequest.Builder sortBy​(ListChecksRequest.SortBy sortBy)
        The field to sort by.

        You can specify only one sort order(sortOrder). The default order for title is ascending.

        Parameters:
        sortBy - the value to set
        Returns:
        this builder instance
      • containsSeverity

        public ListChecksRequest.Builder containsSeverity​(List<ListChecksRequest.ContainsSeverity> containsSeverity)
        A filter to return only findings that match the specified risk level(s).

        Use containsSeverity parameter if need to filter by multiple risk levels.

        Parameters:
        containsSeverity - the value to set
        Returns:
        this builder instance
      • containsSeverity

        public ListChecksRequest.Builder containsSeverity​(ListChecksRequest.ContainsSeverity singularValue)
        Singular setter.

        A filter to return only findings that match the specified risk level(s). Use containsSeverity parameter if need to filter by multiple risk levels.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • containsReferences

        public ListChecksRequest.Builder containsReferences​(List<SecurityAssessmentReferences> containsReferences)
        An optional filter to return only findings that match the specified references.

        Use containsReferences param if need to filter by multiple references.

        Parameters:
        containsReferences - the value to set
        Returns:
        this builder instance
      • containsReferences

        public ListChecksRequest.Builder containsReferences​(SecurityAssessmentReferences singularValue)
        Singular setter.

        An optional filter to return only findings that match the specified references. Use containsReferences param if need to filter by multiple references.

        Parameters:
        singularValue - the singular value to set
        Returns:
        this builder instance
      • compartmentIdInSubtree

        public ListChecksRequest.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 ListChecksRequest.Builder accessLevel​(ListChecksRequest.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
      • key

        public ListChecksRequest.Builder key​(String key)
        Each check in security assessment has an associated key (think of key as a check’s name).

        For a given check, the key will be the same across targets. The user can use these keys to filter the checks.

        Parameters:
        key - the value to set
        Returns:
        this builder instance
      • invocationCallback

        public ListChecksRequest.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 ListChecksRequest.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