Class ListProfileSummariesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.requests.ListProfileSummariesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListProfileSummariesRequest,Void>
- Enclosing class:
- ListProfileSummariesRequest
public static class ListProfileSummariesRequest.Builder extends Object implements BmcRequest.Builder<ListProfileSummariesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListProfileSummariesRequest.Builder
accessLevel(ListProfileSummariesRequest.AccessLevel accessLevel)
Valid values are RESTRICTED and ACCESSIBLE.ListProfileSummariesRequest
build()
Build the instance of ListProfileSummariesRequest as configured by this builderListProfileSummariesRequest
buildWithoutInvocationCallback()
Build the instance of ListProfileSummariesRequest as configured by this builderListProfileSummariesRequest.Builder
compartmentId(String compartmentId)
A filter to return only resources that match the specified compartment OCID.ListProfileSummariesRequest.Builder
compartmentIdInSubtree(Boolean compartmentIdInSubtree)
Default is false.ListProfileSummariesRequest.Builder
copy(ListProfileSummariesRequest o)
Copy method to populate the builder with values from the given instance.ListProfileSummariesRequest.Builder
failedLoginAttemptsGreaterThanOrEqual(String failedLoginAttemptsGreaterThanOrEqual)
An optional filter to return the profiles having allow failed login attempts number greater than or equal to the provided value.ListProfileSummariesRequest.Builder
failedLoginAttemptsLessThan(String failedLoginAttemptsLessThan)
An optional filter to return the profiles having failed login attempts number less than the provided value.ListProfileSummariesRequest.Builder
inactiveAccountTimeGreaterThanOrEqual(String inactiveAccountTimeGreaterThanOrEqual)
An optional filter to return the profiles allowing inactive account time in days greater than or equal to the provided value.ListProfileSummariesRequest.Builder
inactiveAccountTimeLessThan(String inactiveAccountTimeLessThan)
An optional filter to return the profiles allowing inactive account time in days less than the provided value.ListProfileSummariesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListProfileSummariesRequest.Builder
isUserCreated(Boolean isUserCreated)
An optional filter to return the user created profiles.ListProfileSummariesRequest.Builder
limit(Integer limit)
For list pagination.ListProfileSummariesRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ListProfileSummariesRequest.Builder
page(String page)
For list pagination.ListProfileSummariesRequest.Builder
passwordLockTimeGreaterThanOrEqual(String passwordLockTimeGreaterThanOrEqual)
An optional filter to return the profiles having password lock number greater than or equal to the provided value.ListProfileSummariesRequest.Builder
passwordLockTimeLessThan(String passwordLockTimeLessThan)
An optional filter to return the profiles having password lock number less than the provided value.ListProfileSummariesRequest.Builder
passwordVerificationFunction(String passwordVerificationFunction)
An optional filter to filter the profiles based on password verification function.ListProfileSummariesRequest.Builder
profileName(String profileName)
A filter to return only items that match the specified profile name.ListProfileSummariesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListProfileSummariesRequest.Builder
sessionsPerUserGreaterThanOrEqual(String sessionsPerUserGreaterThanOrEqual)
An optional filter to return the profiles permitting the user to spawn multiple sessions having count.ListProfileSummariesRequest.Builder
sessionsPerUserLessThan(String sessionsPerUserLessThan)
An optional filter to return the profiles permitting the user to spawn multiple sessions having count less than the provided value.ListProfileSummariesRequest.Builder
sortBy(ListProfileSummariesRequest.SortBy sortBy)
The field to sort by.ListProfileSummariesRequest.Builder
sortOrder(ListProfileSummariesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).ListProfileSummariesRequest.Builder
targetId(String targetId)
A filter to return only items related to a specific target OCID.ListProfileSummariesRequest.Builder
userAssessmentId(String userAssessmentId)
The OCID of the user assessment.ListProfileSummariesRequest.Builder
userCountGreaterThanOrEqual(String userCountGreaterThanOrEqual)
An optional filter to return the profiles having user count greater than or equal to the provided value.ListProfileSummariesRequest.Builder
userCountLessThan(String userCountLessThan)
An optional filter to return the profiles having user count less than the provided value.-
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
-
userAssessmentId
public ListProfileSummariesRequest.Builder userAssessmentId(String userAssessmentId)
The OCID of the user assessment.- Parameters:
userAssessmentId
- the value to set- Returns:
- this builder instance
-
compartmentId
public ListProfileSummariesRequest.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 ListProfileSummariesRequest.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 ListProfileSummariesRequest.Builder accessLevel(ListProfileSummariesRequest.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 ListProfileSummariesRequest.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
-
limit
public ListProfileSummariesRequest.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 ListProfileSummariesRequest.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
-
profileName
public ListProfileSummariesRequest.Builder profileName(String profileName)
A filter to return only items that match the specified profile name.- Parameters:
profileName
- the value to set- Returns:
- this builder instance
-
isUserCreated
public ListProfileSummariesRequest.Builder isUserCreated(Boolean isUserCreated)
An optional filter to return the user created profiles.- Parameters:
isUserCreated
- the value to set- Returns:
- this builder instance
-
passwordVerificationFunction
public ListProfileSummariesRequest.Builder passwordVerificationFunction(String passwordVerificationFunction)
An optional filter to filter the profiles based on password verification function.- Parameters:
passwordVerificationFunction
- the value to set- Returns:
- this builder instance
-
userCountGreaterThanOrEqual
public ListProfileSummariesRequest.Builder userCountGreaterThanOrEqual(String userCountGreaterThanOrEqual)
An optional filter to return the profiles having user count greater than or equal to the provided value.- Parameters:
userCountGreaterThanOrEqual
- the value to set- Returns:
- this builder instance
-
userCountLessThan
public ListProfileSummariesRequest.Builder userCountLessThan(String userCountLessThan)
An optional filter to return the profiles having user count less than the provided value.- Parameters:
userCountLessThan
- the value to set- Returns:
- this builder instance
-
failedLoginAttemptsGreaterThanOrEqual
public ListProfileSummariesRequest.Builder failedLoginAttemptsGreaterThanOrEqual(String failedLoginAttemptsGreaterThanOrEqual)
An optional filter to return the profiles having allow failed login attempts number greater than or equal to the provided value.String value is used for accommodating the “UNLIMITED” and “DEFAULT” values.
- Parameters:
failedLoginAttemptsGreaterThanOrEqual
- the value to set- Returns:
- this builder instance
-
failedLoginAttemptsLessThan
public ListProfileSummariesRequest.Builder failedLoginAttemptsLessThan(String failedLoginAttemptsLessThan)
An optional filter to return the profiles having failed login attempts number less than the provided value.String value is used for accommodating the “UNLIMITED” and “DEFAULT” values.
- Parameters:
failedLoginAttemptsLessThan
- the value to set- Returns:
- this builder instance
-
sessionsPerUserGreaterThanOrEqual
public ListProfileSummariesRequest.Builder sessionsPerUserGreaterThanOrEqual(String sessionsPerUserGreaterThanOrEqual)
An optional filter to return the profiles permitting the user to spawn multiple sessions having count.greater than or equal to the provided value. String value is used for accommodating the “UNLIMITED” and “DEFAULT” values.
- Parameters:
sessionsPerUserGreaterThanOrEqual
- the value to set- Returns:
- this builder instance
-
sessionsPerUserLessThan
public ListProfileSummariesRequest.Builder sessionsPerUserLessThan(String sessionsPerUserLessThan)
An optional filter to return the profiles permitting the user to spawn multiple sessions having count less than the provided value.String value is used for accommodating the “UNLIMITED” and “DEFAULT” values.
- Parameters:
sessionsPerUserLessThan
- the value to set- Returns:
- this builder instance
-
inactiveAccountTimeGreaterThanOrEqual
public ListProfileSummariesRequest.Builder inactiveAccountTimeGreaterThanOrEqual(String inactiveAccountTimeGreaterThanOrEqual)
An optional filter to return the profiles allowing inactive account time in days greater than or equal to the provided value.String value is used for accommodating the “UNLIMITED” and “DEFAULT” values.
- Parameters:
inactiveAccountTimeGreaterThanOrEqual
- the value to set- Returns:
- this builder instance
-
inactiveAccountTimeLessThan
public ListProfileSummariesRequest.Builder inactiveAccountTimeLessThan(String inactiveAccountTimeLessThan)
An optional filter to return the profiles allowing inactive account time in days less than the provided value.String value is used for accommodating the “UNLIMITED” and “DEFAULT” values.
- Parameters:
inactiveAccountTimeLessThan
- the value to set- Returns:
- this builder instance
-
passwordLockTimeGreaterThanOrEqual
public ListProfileSummariesRequest.Builder passwordLockTimeGreaterThanOrEqual(String passwordLockTimeGreaterThanOrEqual)
An optional filter to return the profiles having password lock number greater than or equal to the provided value.String value is used for accommodating the “UNLIMITED” and “DEFAULT” values.
- Parameters:
passwordLockTimeGreaterThanOrEqual
- the value to set- Returns:
- this builder instance
-
passwordLockTimeLessThan
public ListProfileSummariesRequest.Builder passwordLockTimeLessThan(String passwordLockTimeLessThan)
An optional filter to return the profiles having password lock number less than the provided value.String value is used for accommodating the “UNLIMITED” and “DEFAULT” values.
- Parameters:
passwordLockTimeLessThan
- the value to set- Returns:
- this builder instance
-
sortBy
public ListProfileSummariesRequest.Builder sortBy(ListProfileSummariesRequest.SortBy sortBy)
The field to sort by.You can specify only one sort order (sortOrder). The default order is targetId ASC.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListProfileSummariesRequest.Builder sortOrder(ListProfileSummariesRequest.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 ListProfileSummariesRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListProfileSummariesRequest.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 ListProfileSummariesRequest.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 ListProfileSummariesRequest.Builder copy(ListProfileSummariesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListProfileSummariesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListProfileSummariesRequest build()
Build the instance of ListProfileSummariesRequest 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<ListProfileSummariesRequest,Void>
- Returns:
- instance of ListProfileSummariesRequest
-
buildWithoutInvocationCallback
public ListProfileSummariesRequest buildWithoutInvocationCallback()
Build the instance of ListProfileSummariesRequest 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 ListProfileSummariesRequest
-
-