Class ListCccInfrastructuresRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.computecloudatcustomer.requests.ListCccInfrastructuresRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListCccInfrastructuresRequest,Void>
 - Enclosing class:
- ListCccInfrastructuresRequest
 
 public static class ListCccInfrastructuresRequest.Builder extends Object implements BmcRequest.Builder<ListCccInfrastructuresRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListCccInfrastructuresRequest.BuilderaccessLevel(ListCccInfrastructuresRequest.AccessLevel accessLevel)Valid values are RESTRICTED and ACCESSIBLE.ListCccInfrastructuresRequestbuild()Build the instance of ListCccInfrastructuresRequest as configured by this builderListCccInfrastructuresRequestbuildWithoutInvocationCallback()Build the instance of ListCccInfrastructuresRequest as configured by this builderListCccInfrastructuresRequest.BuildercccInfrastructureId(String cccInfrastructureId)An OCID for a Compute Cloud@Customer Infrastructure.ListCccInfrastructuresRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment in which to list resources.ListCccInfrastructuresRequest.BuildercompartmentIdInSubtree(Boolean compartmentIdInSubtree)Default is false.ListCccInfrastructuresRequest.Buildercopy(ListCccInfrastructuresRequest o)Copy method to populate the builder with values from the given instance.ListCccInfrastructuresRequest.BuilderdisplayName(String displayName)A filter to return only resources that match the entire display name given.ListCccInfrastructuresRequest.BuilderdisplayNameContains(String displayNameContains)A filter to return only resources whose display name contains the substring.ListCccInfrastructuresRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListCccInfrastructuresRequest.BuilderlifecycleState(CccInfrastructure.LifecycleState lifecycleState)A filter used to return only resources that match the given lifecycleState.ListCccInfrastructuresRequest.Builderlimit(Integer limit)The maximum number of items to return.ListCccInfrastructuresRequest.BuilderopcRequestId(String opcRequestId)The client request OCID for tracing.ListCccInfrastructuresRequest.Builderpage(String page)A token representing the position at which to start retrieving results.ListCccInfrastructuresRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListCccInfrastructuresRequest.BuildersortBy(ListCccInfrastructuresRequest.SortBy sortBy)The field to sort by.ListCccInfrastructuresRequest.BuildersortOrder(SortOrder sortOrder)The sort order to use, either ‘ASC’ or ‘DESC’.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
compartmentIdpublic ListCccInfrastructuresRequest.Builder compartmentId(String compartmentId) The OCID of the compartment in which to list resources.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder instance
 
 - 
compartmentIdInSubtreepublic ListCccInfrastructuresRequest.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree) Default is false.When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the ‘accessLevel’ setting. - Parameters:
- compartmentIdInSubtree- the value to set
- Returns:
- this builder instance
 
 - 
accessLevelpublic ListCccInfrastructuresRequest.Builder accessLevel(ListCccInfrastructuresRequest.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
 
 - 
lifecycleStatepublic ListCccInfrastructuresRequest.Builder lifecycleState(CccInfrastructure.LifecycleState lifecycleState) A filter used to return only resources that match the given lifecycleState.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder instance
 
 - 
displayNamepublic ListCccInfrastructuresRequest.Builder displayName(String displayName) A filter to return only resources that match the entire display name given.- Parameters:
- displayName- the value to set
- Returns:
- this builder instance
 
 - 
displayNameContainspublic ListCccInfrastructuresRequest.Builder displayNameContains(String displayNameContains) A filter to return only resources whose display name contains the substring.- Parameters:
- displayNameContains- the value to set
- Returns:
- this builder instance
 
 - 
cccInfrastructureIdpublic ListCccInfrastructuresRequest.Builder cccInfrastructureId(String cccInfrastructureId) An OCID for a Compute Cloud@Customer Infrastructure.- Parameters:
- cccInfrastructureId- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListCccInfrastructuresRequest.Builder limit(Integer limit) The maximum number of items to return.- Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic ListCccInfrastructuresRequest.Builder page(String page) A token representing the position at which to start retrieving results.This must come from the opc-next-page header field of a previous response. - Parameters:
- page- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListCccInfrastructuresRequest.Builder sortOrder(SortOrder sortOrder) The sort order to use, either ‘ASC’ or ‘DESC’.- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListCccInfrastructuresRequest.Builder sortBy(ListCccInfrastructuresRequest.SortBy sortBy) The field to sort by.Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListCccInfrastructuresRequest.Builder opcRequestId(String opcRequestId) The client request OCID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListCccInfrastructuresRequest.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
 
 - 
retryConfigurationpublic ListCccInfrastructuresRequest.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
 
 - 
copypublic ListCccInfrastructuresRequest.Builder copy(ListCccInfrastructuresRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListCccInfrastructuresRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListCccInfrastructuresRequest build() Build the instance of ListCccInfrastructuresRequest 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 interface- BmcRequest.Builder<ListCccInfrastructuresRequest,Void>
- Returns:
- instance of ListCccInfrastructuresRequest
 
 - 
buildWithoutInvocationCallbackpublic ListCccInfrastructuresRequest buildWithoutInvocationCallback() Build the instance of ListCccInfrastructuresRequest 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 ListCccInfrastructuresRequest
 
 
- 
 
-