Package com.oracle.bmc.jms.requests
Class ListContainersRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.requests.ListContainersRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListContainersRequest,Void>
- Enclosing class:
- ListContainersRequest
public static class ListContainersRequest.Builder extends Object implements BmcRequest.Builder<ListContainersRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListContainersRequest.Builder
applicationName(String applicationName)
The name of the application.ListContainersRequest
build()
Build the instance of ListContainersRequest as configured by this builderListContainersRequest
buildWithoutInvocationCallback()
Build the instance of ListContainersRequest as configured by this builderListContainersRequest.Builder
copy(ListContainersRequest o)
Copy method to populate the builder with values from the given instance.ListContainersRequest.Builder
displayName(String displayName)
The display name.ListContainersRequest.Builder
fleetId(String fleetId)
The OCID of the Fleet.ListContainersRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListContainersRequest.Builder
jreSecurityStatus(JreSecurityStatus jreSecurityStatus)
The security status of the Java Runtime.ListContainersRequest.Builder
jreVersion(String jreVersion)
The version of the related Java Runtime.ListContainersRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListContainersRequest.Builder
managedInstanceId(String managedInstanceId)
The Fleet-unique identifier of the managed instance.ListContainersRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListContainersRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListContainersRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListContainersRequest.Builder
sortBy(ContainerSortBy sortBy)
The field to sort the containers.ListContainersRequest.Builder
sortOrder(SortOrder sortOrder)
The sort order, either ‘asc’ or ‘desc’.ListContainersRequest.Builder
timeStartedGreaterThanOrEqualTo(Date timeStartedGreaterThanOrEqualTo)
If specified, only containers with a start time later than or equal to this parameter will be included in the response (formatted according to RFC3339).ListContainersRequest.Builder
timeStartedLessThanOrEqualTo(Date timeStartedLessThanOrEqualTo)
If specified, only containers with a start time earlier than or equal to this parameter will be included in the response (formatted according to RFC3339).-
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
-
fleetId
public ListContainersRequest.Builder fleetId(String fleetId)
The OCID of the Fleet.- Parameters:
fleetId
- the value to set- Returns:
- this builder instance
-
managedInstanceId
public ListContainersRequest.Builder managedInstanceId(String managedInstanceId)
The Fleet-unique identifier of the managed instance.- Parameters:
managedInstanceId
- the value to set- Returns:
- this builder instance
-
displayName
public ListContainersRequest.Builder displayName(String displayName)
The display name.- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
applicationName
public ListContainersRequest.Builder applicationName(String applicationName)
The name of the application.- Parameters:
applicationName
- the value to set- Returns:
- this builder instance
-
jreVersion
public ListContainersRequest.Builder jreVersion(String jreVersion)
The version of the related Java Runtime.- Parameters:
jreVersion
- the value to set- Returns:
- this builder instance
-
jreSecurityStatus
public ListContainersRequest.Builder jreSecurityStatus(JreSecurityStatus jreSecurityStatus)
The security status of the Java Runtime.- Parameters:
jreSecurityStatus
- the value to set- Returns:
- this builder instance
-
timeStartedGreaterThanOrEqualTo
public ListContainersRequest.Builder timeStartedGreaterThanOrEqualTo(Date timeStartedGreaterThanOrEqualTo)
If specified, only containers with a start time later than or equal to this parameter will be included in the response (formatted according to RFC3339).- Parameters:
timeStartedGreaterThanOrEqualTo
- the value to set- Returns:
- this builder instance
-
timeStartedLessThanOrEqualTo
public ListContainersRequest.Builder timeStartedLessThanOrEqualTo(Date timeStartedLessThanOrEqualTo)
If specified, only containers with a start time earlier than or equal to this parameter will be included in the response (formatted according to RFC3339).- Parameters:
timeStartedLessThanOrEqualTo
- the value to set- Returns:
- this builder instance
-
limit
public ListContainersRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListContainersRequest.Builder page(String page)
The page token representing the page at which to start retrieving results.The token is usually retrieved from a previous list call.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListContainersRequest.Builder sortOrder(SortOrder sortOrder)
The sort order, either ‘asc’ or ‘desc’.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListContainersRequest.Builder sortBy(ContainerSortBy sortBy)
The field to sort the containers.Only one sort order can be provided. Default order for displayName, namespace, podName, applicationName, or jreVersion is ascending. Default order for timeStarted is descending. If no value is specified timeStarted is default.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListContainersRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListContainersRequest.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 ListContainersRequest.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 ListContainersRequest.Builder copy(ListContainersRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListContainersRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListContainersRequest build()
Build the instance of ListContainersRequest 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<ListContainersRequest,Void>
- Returns:
- instance of ListContainersRequest
-
buildWithoutInvocationCallback
public ListContainersRequest buildWithoutInvocationCallback()
Build the instance of ListContainersRequest 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 ListContainersRequest
-
-