Class ListCryptoAssessmentCertificatesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.requests.ListCryptoAssessmentCertificatesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListCryptoAssessmentCertificatesRequest,Void>
- Enclosing class:
- ListCryptoAssessmentCertificatesRequest
public static class ListCryptoAssessmentCertificatesRequest.Builder extends Object implements BmcRequest.Builder<ListCryptoAssessmentCertificatesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListCryptoAssessmentCertificatesRequest.BuilderaccessLevel(ListCryptoAssessmentCertificatesRequest.AccessLevel accessLevel)Valid values are RESTRICTED and ACCESSIBLE.ListCryptoAssessmentCertificatesRequest.BuilderassessmentId(String assessmentId)A filter to return only resources associated with the specified crypto assessment OCID.ListCryptoAssessmentCertificatesRequest.BuilderassessmentType(CryptoAssessment.Type assessmentType)A filter to return targets from assessments of the specified type.ListCryptoAssessmentCertificatesRequestbuild()Build the instance of ListCryptoAssessmentCertificatesRequest as configured by this builderListCryptoAssessmentCertificatesRequestbuildWithoutInvocationCallback()Build the instance of ListCryptoAssessmentCertificatesRequest as configured by this builderListCryptoAssessmentCertificatesRequest.BuildercertificateType(CryptoAssessmentCertificateSummary.CertificateType singularValue)Singular setter.ListCryptoAssessmentCertificatesRequest.BuildercertificateType(List<CryptoAssessmentCertificateSummary.CertificateType> certificateType)A filter to return only certificates of any of the specified types.ListCryptoAssessmentCertificatesRequest.BuildercompartmentId(String compartmentId)A filter to return only resources that match the specified compartment OCID.ListCryptoAssessmentCertificatesRequest.BuildercompartmentIdInSubtree(Boolean compartmentIdInSubtree)Default is false.ListCryptoAssessmentCertificatesRequest.Buildercopy(ListCryptoAssessmentCertificatesRequest o)Copy method to populate the builder with values from the given instance.ListCryptoAssessmentCertificatesRequest.BuilderdaysToExpiry(Integer daysToExpiry)A filter to return certificates whose validTill timestamp is on or before the current time plus the specified number of days.ListCryptoAssessmentCertificatesRequest.BuilderexpiryBucket(String expiryBucket)A filter to return only certificates in the specified expiry bucket.ListCryptoAssessmentCertificatesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListCryptoAssessmentCertificatesRequest.Builderlimit(Integer limit)For list pagination.ListCryptoAssessmentCertificatesRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.ListCryptoAssessmentCertificatesRequest.Builderpage(String page)For list pagination.ListCryptoAssessmentCertificatesRequest.BuilderpublicKeyType(String singularValue)Singular setter.ListCryptoAssessmentCertificatesRequest.BuilderpublicKeyType(List<String> publicKeyType)A filter to return only certificates with any of the specified public key types.ListCryptoAssessmentCertificatesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListCryptoAssessmentCertificatesRequest.BuildersignatureAlgorithm(String singularValue)Singular setter.ListCryptoAssessmentCertificatesRequest.BuildersignatureAlgorithm(List<String> signatureAlgorithm)A filter to return only certificates whose signature algorithm contains any of the specified values.ListCryptoAssessmentCertificatesRequest.BuildersortBy(ListCryptoAssessmentCertificatesRequest.SortBy sortBy)The field used to sort certificate results.ListCryptoAssessmentCertificatesRequest.BuildersortOrder(ListCryptoAssessmentCertificatesRequest.SortOrder sortOrder)The sort order to use, either ascending (ASC) or descending (DESC).ListCryptoAssessmentCertificatesRequest.Builderstatus(CryptoAssessmentCertificateSummary.Status singularValue)Singular setter.ListCryptoAssessmentCertificatesRequest.Builderstatus(List<CryptoAssessmentCertificateSummary.Status> status)A filter to return only certificates with any of the specified statuses.ListCryptoAssessmentCertificatesRequest.BuildertargetId(String targetId)A filter to return only inventory rows associated with the specified target OCID.ListCryptoAssessmentCertificatesRequest.BuildertargetIds(String singularValue)Singular setter.ListCryptoAssessmentCertificatesRequest.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 ListCryptoAssessmentCertificatesRequest.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 ListCryptoAssessmentCertificatesRequest.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 ListCryptoAssessmentCertificatesRequest.Builder accessLevel(ListCryptoAssessmentCertificatesRequest.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 ListCryptoAssessmentCertificatesRequest.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 ListCryptoAssessmentCertificatesRequest.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 ListCryptoAssessmentCertificatesRequest.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 ListCryptoAssessmentCertificatesRequest.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 ListCryptoAssessmentCertificatesRequest.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
-
certificateType
public ListCryptoAssessmentCertificatesRequest.Builder certificateType(List<CryptoAssessmentCertificateSummary.CertificateType> certificateType)
A filter to return only certificates of any of the specified types.- Parameters:
certificateType- the value to set- Returns:
- this builder instance
-
certificateType
public ListCryptoAssessmentCertificatesRequest.Builder certificateType(CryptoAssessmentCertificateSummary.CertificateType singularValue)
Singular setter.A filter to return only certificates of any of the specified types.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
status
public ListCryptoAssessmentCertificatesRequest.Builder status(List<CryptoAssessmentCertificateSummary.Status> status)
A filter to return only certificates with any of the specified statuses.- Parameters:
status- the value to set- Returns:
- this builder instance
-
status
public ListCryptoAssessmentCertificatesRequest.Builder status(CryptoAssessmentCertificateSummary.Status singularValue)
Singular setter.A filter to return only certificates with any of the specified statuses.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
publicKeyType
public ListCryptoAssessmentCertificatesRequest.Builder publicKeyType(List<String> publicKeyType)
A filter to return only certificates with any of the specified public key types.Stored values are normalized forms such as RSA2048, RSA4096, or EC256.
- Parameters:
publicKeyType- the value to set- Returns:
- this builder instance
-
publicKeyType
public ListCryptoAssessmentCertificatesRequest.Builder publicKeyType(String singularValue)
Singular setter.A filter to return only certificates with any of the specified public key types. Stored values are normalized forms such as RSA2048, RSA4096, or EC256.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
signatureAlgorithm
public ListCryptoAssessmentCertificatesRequest.Builder signatureAlgorithm(List<String> signatureAlgorithm)
A filter to return only certificates whose signature algorithm contains any of the specified values.For example, use SHA1 to match SHA1-based certificate signatures.
- Parameters:
signatureAlgorithm- the value to set- Returns:
- this builder instance
-
signatureAlgorithm
public ListCryptoAssessmentCertificatesRequest.Builder signatureAlgorithm(String singularValue)
Singular setter.A filter to return only certificates whose signature algorithm contains any of the specified values. For example, use SHA1 to match SHA1-based certificate signatures.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
expiryBucket
public ListCryptoAssessmentCertificatesRequest.Builder expiryBucket(String expiryBucket)
A filter to return only certificates in the specified expiry bucket.Supported values are 0_15, 15_30, 30_60, 60_90, and 90_PLUS.
- Parameters:
expiryBucket- the value to set- Returns:
- this builder instance
-
daysToExpiry
public ListCryptoAssessmentCertificatesRequest.Builder daysToExpiry(Integer daysToExpiry)
A filter to return certificates whose validTill timestamp is on or before the current time plus the specified number of days.Negative values are allowed and filter certificates that expired on or before that many days ago.
- Parameters:
daysToExpiry- the value to set- Returns:
- this builder instance
-
sortBy
public ListCryptoAssessmentCertificatesRequest.Builder sortBy(ListCryptoAssessmentCertificatesRequest.SortBy sortBy)
The field used to sort certificate results.- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
sortOrder
public ListCryptoAssessmentCertificatesRequest.Builder sortOrder(ListCryptoAssessmentCertificatesRequest.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 ListCryptoAssessmentCertificatesRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
limit
public ListCryptoAssessmentCertificatesRequest.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 ListCryptoAssessmentCertificatesRequest.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 ListCryptoAssessmentCertificatesRequest.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 ListCryptoAssessmentCertificatesRequest.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 ListCryptoAssessmentCertificatesRequest.Builder copy(ListCryptoAssessmentCertificatesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListCryptoAssessmentCertificatesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListCryptoAssessmentCertificatesRequest build()
Build the instance of ListCryptoAssessmentCertificatesRequest 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<ListCryptoAssessmentCertificatesRequest,Void>- Returns:
- instance of ListCryptoAssessmentCertificatesRequest
-
buildWithoutInvocationCallback
public ListCryptoAssessmentCertificatesRequest buildWithoutInvocationCallback()
Build the instance of ListCryptoAssessmentCertificatesRequest 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 ListCryptoAssessmentCertificatesRequest
-
-