Class ListWlsDomainsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.wlms.requests.ListWlsDomainsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListWlsDomainsRequest,Void>
- Enclosing class:
- ListWlsDomainsRequest
public static class ListWlsDomainsRequest.Builder extends Object implements BmcRequest.Builder<ListWlsDomainsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListWlsDomainsRequest
build()
Build the instance of ListWlsDomainsRequest as configured by this builderListWlsDomainsRequest
buildWithoutInvocationCallback()
Build the instance of ListWlsDomainsRequest as configured by this builderListWlsDomainsRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the resources to list.ListWlsDomainsRequest.Builder
copy(ListWlsDomainsRequest o)
Copy method to populate the builder with values from the given instance.ListWlsDomainsRequest.Builder
displayName(String displayName)
The display name.ListWlsDomainsRequest.Builder
id(String id)
The OCID of the WebLogic domain.ListWlsDomainsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListWlsDomainsRequest.Builder
lifecycleState(WlsDomain.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state.ListWlsDomainsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListWlsDomainsRequest.Builder
middlewareType(ListWlsDomainsRequest.MiddlewareType middlewareType)
A filter to return WebLogic domains based on the type of middleware of the WebLogic domain.ListWlsDomainsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListWlsDomainsRequest.Builder
opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.ListWlsDomainsRequest.Builder
page(String page)
The page token that represents the page at which to start retrieving results.ListWlsDomainsRequest.Builder
patchReadinessStatus(PatchReadinessStatus patchReadinessStatus)
A filter to return domains based on the patch readiness status.ListWlsDomainsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListWlsDomainsRequest.Builder
sortBy(ListWlsDomainsRequest.SortBy sortBy)
The field by which to sort the resource.ListWlsDomainsRequest.Builder
sortOrder(ListWlsDomainsRequest.SortOrder sortOrder)
The sort order is either ‘ASC’ or ‘DESC’.ListWlsDomainsRequest.Builder
weblogicVersion(ListWlsDomainsRequest.WeblogicVersion weblogicVersion)
A filter to return WebLogic domains based on the WebLogic version.-
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 ListWlsDomainsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the resources to list.This filter returns only resources contained within the specified compartment.
- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListWlsDomainsRequest.Builder lifecycleState(WlsDomain.LifecycleState lifecycleState)
A filter to return only resources that match the given lifecycle state.The state value is case-insensitive.
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
displayName
public ListWlsDomainsRequest.Builder displayName(String displayName)
The display name.- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
id
public ListWlsDomainsRequest.Builder id(String id)
The OCID of the WebLogic domain.- Parameters:
id
- the value to set- Returns:
- this builder instance
-
weblogicVersion
public ListWlsDomainsRequest.Builder weblogicVersion(ListWlsDomainsRequest.WeblogicVersion weblogicVersion)
A filter to return WebLogic domains based on the WebLogic version.- Parameters:
weblogicVersion
- the value to set- Returns:
- this builder instance
-
middlewareType
public ListWlsDomainsRequest.Builder middlewareType(ListWlsDomainsRequest.MiddlewareType middlewareType)
A filter to return WebLogic domains based on the type of middleware of the WebLogic domain.- Parameters:
middlewareType
- the value to set- Returns:
- this builder instance
-
patchReadinessStatus
public ListWlsDomainsRequest.Builder patchReadinessStatus(PatchReadinessStatus patchReadinessStatus)
A filter to return domains based on the patch readiness status.- Parameters:
patchReadinessStatus
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListWlsDomainsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
opcRetryToken
public ListWlsDomainsRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
- Parameters:
opcRetryToken
- the value to set- Returns:
- this builder instance
-
limit
public ListWlsDomainsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListWlsDomainsRequest.Builder page(String page)
The page token that represents 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 ListWlsDomainsRequest.Builder sortOrder(ListWlsDomainsRequest.SortOrder sortOrder)
The sort order is either ‘ASC’ or ‘DESC’.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListWlsDomainsRequest.Builder sortBy(ListWlsDomainsRequest.SortBy sortBy)
The field by which to sort the resource.Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified, timeCreated is default.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListWlsDomainsRequest.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 ListWlsDomainsRequest.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 ListWlsDomainsRequest.Builder copy(ListWlsDomainsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListWlsDomainsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListWlsDomainsRequest build()
Build the instance of ListWlsDomainsRequest 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<ListWlsDomainsRequest,Void>
- Returns:
- instance of ListWlsDomainsRequest
-
buildWithoutInvocationCallback
public ListWlsDomainsRequest buildWithoutInvocationCallback()
Build the instance of ListWlsDomainsRequest 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 ListWlsDomainsRequest
-
-