Class ListDeploymentsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.requests.ListDeploymentsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListDeploymentsRequest,Void>
- Enclosing class:
- ListDeploymentsRequest
public static class ListDeploymentsRequest.Builder extends Object implements BmcRequest.Builder<ListDeploymentsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDeploymentsRequest.Builder
assignableConnectionId(String assignableConnectionId)
Return the deployments to which the specified connectionId may be assigned.ListDeploymentsRequest.Builder
assignedConnectionId(String assignedConnectionId)
The OCID of the connection which for the deployment must be assigned.ListDeploymentsRequest
build()
Build the instance of ListDeploymentsRequest as configured by this builderListDeploymentsRequest
buildWithoutInvocationCallback()
Build the instance of ListDeploymentsRequest as configured by this builderListDeploymentsRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment that contains the work request.ListDeploymentsRequest.Builder
copy(ListDeploymentsRequest o)
Copy method to populate the builder with values from the given instance.ListDeploymentsRequest.Builder
displayName(String displayName)
A filter to return only the resources that match the entire ‘displayName’ given.ListDeploymentsRequest.Builder
fqdn(String fqdn)
A filter to return only the resources that match the ‘fqdn’ given.ListDeploymentsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListDeploymentsRequest.Builder
lifecycleState(LifecycleState lifecycleState)
A filter to return only the resources that match the ‘lifecycleState’ given.ListDeploymentsRequest.Builder
lifecycleSubState(LifecycleSubState lifecycleSubState)
A filter to return only the resources that match the ‘lifecycleSubState’ given.ListDeploymentsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListDeploymentsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListDeploymentsRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListDeploymentsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListDeploymentsRequest.Builder
sortBy(ListDeploymentsRequest.SortBy sortBy)
The field to sort by.ListDeploymentsRequest.Builder
sortOrder(SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.ListDeploymentsRequest.Builder
supportedConnectionType(ConnectionType supportedConnectionType)
The connection type which the deployment must support.-
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 ListDeploymentsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the work request.Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
supportedConnectionType
public ListDeploymentsRequest.Builder supportedConnectionType(ConnectionType supportedConnectionType)
The connection type which the deployment must support.- Parameters:
supportedConnectionType
- the value to set- Returns:
- this builder instance
-
assignedConnectionId
public ListDeploymentsRequest.Builder assignedConnectionId(String assignedConnectionId)
The OCID of the connection which for the deployment must be assigned.- Parameters:
assignedConnectionId
- the value to set- Returns:
- this builder instance
-
assignableConnectionId
public ListDeploymentsRequest.Builder assignableConnectionId(String assignableConnectionId)
Return the deployments to which the specified connectionId may be assigned.- Parameters:
assignableConnectionId
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListDeploymentsRequest.Builder lifecycleState(LifecycleState lifecycleState)
A filter to return only the resources that match the ‘lifecycleState’ given.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
lifecycleSubState
public ListDeploymentsRequest.Builder lifecycleSubState(LifecycleSubState lifecycleSubState)
A filter to return only the resources that match the ‘lifecycleSubState’ given.- Parameters:
lifecycleSubState
- the value to set- Returns:
- this builder instance
-
displayName
public ListDeploymentsRequest.Builder displayName(String displayName)
A filter to return only the resources that match the entire ‘displayName’ given.- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
fqdn
public ListDeploymentsRequest.Builder fqdn(String fqdn)
A filter to return only the resources that match the ‘fqdn’ given.- Parameters:
fqdn
- the value to set- Returns:
- this builder instance
-
limit
public ListDeploymentsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListDeploymentsRequest.Builder page(String page)
The page token representing the page at which to start retrieving results.This is usually retrieved from a previous list call.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListDeploymentsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListDeploymentsRequest.Builder sortBy(ListDeploymentsRequest.SortBy sortBy)
The field to sort by.Only one sort order can be provided. Default order for ‘timeCreated’ is descending. Default order for ‘displayName’ is ascending. If no value is specified timeCreated is the default.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListDeploymentsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListDeploymentsRequest.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 ListDeploymentsRequest.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 ListDeploymentsRequest.Builder copy(ListDeploymentsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListDeploymentsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDeploymentsRequest build()
Build the instance of ListDeploymentsRequest 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<ListDeploymentsRequest,Void>
- Returns:
- instance of ListDeploymentsRequest
-
buildWithoutInvocationCallback
public ListDeploymentsRequest buildWithoutInvocationCallback()
Build the instance of ListDeploymentsRequest 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 ListDeploymentsRequest
-
-