Class ListBlueGreenDeploymentsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.mysql.requests.ListBlueGreenDeploymentsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListBlueGreenDeploymentsRequest,Void>
- Enclosing class:
- ListBlueGreenDeploymentsRequest
public static class ListBlueGreenDeploymentsRequest.Builder extends Object implements BmcRequest.Builder<ListBlueGreenDeploymentsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBlueGreenDeploymentsRequestbuild()Build the instance of ListBlueGreenDeploymentsRequest as configured by this builderListBlueGreenDeploymentsRequestbuildWithoutInvocationCallback()Build the instance of ListBlueGreenDeploymentsRequest as configured by this builderListBlueGreenDeploymentsRequest.BuildercompartmentId(String compartmentId)The compartment OCID.ListBlueGreenDeploymentsRequest.Buildercopy(ListBlueGreenDeploymentsRequest o)Copy method to populate the builder with values from the given instance.ListBlueGreenDeploymentsRequest.BuilderdisplayName(String displayName)Filters deployments by display name.ListBlueGreenDeploymentsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListBlueGreenDeploymentsRequest.BuilderlifecycleState(BlueGreenDeploymentSummary.LifecycleState lifecycleState)Filters deployments by lifecycle state.ListBlueGreenDeploymentsRequest.Builderlimit(Integer limit)The maximum number of items to return in a paginated list call.ListBlueGreenDeploymentsRequest.BuilderopcRequestId(String opcRequestId)Customer-defined unique identifier for the request.ListBlueGreenDeploymentsRequest.Builderpage(String page)The value of the opc-next-page or opc-prev-page response header from the previous list call.ListBlueGreenDeploymentsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListBlueGreenDeploymentsRequest.BuildersortBy(ListBlueGreenDeploymentsRequest.SortBy sortBy)The field to sort by.ListBlueGreenDeploymentsRequest.BuildersortOrder(ListBlueGreenDeploymentsRequest.SortOrder sortOrder)The sort order to use (ASC or DESC).ListBlueGreenDeploymentsRequest.BuildersourceDbSystemId(String sourceDbSystemId)Source DB system OCID filter.ListBlueGreenDeploymentsRequest.BuildertargetDbSystemId(String targetDbSystemId)Target DB system OCID filter.-
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 ListBlueGreenDeploymentsRequest.Builder compartmentId(String compartmentId)
The compartment OCID.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListBlueGreenDeploymentsRequest.Builder opcRequestId(String opcRequestId)
Customer-defined unique identifier for the request.If you need to contact Oracle about a specific request, please provide the request ID that you supplied in this header with the request.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
limit
public ListBlueGreenDeploymentsRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated list call.For information about pagination, see List Pagination.
- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListBlueGreenDeploymentsRequest.Builder page(String page)
The value of the opc-next-page or opc-prev-page response header from the previous list call.For information about pagination, see List Pagination.
- Parameters:
page- the value to set- Returns:
- this builder instance
-
sourceDbSystemId
public ListBlueGreenDeploymentsRequest.Builder sourceDbSystemId(String sourceDbSystemId)
Source DB system OCID filter.- Parameters:
sourceDbSystemId- the value to set- Returns:
- this builder instance
-
targetDbSystemId
public ListBlueGreenDeploymentsRequest.Builder targetDbSystemId(String targetDbSystemId)
Target DB system OCID filter.- Parameters:
targetDbSystemId- the value to set- Returns:
- this builder instance
-
displayName
public ListBlueGreenDeploymentsRequest.Builder displayName(String displayName)
Filters deployments by display name.- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListBlueGreenDeploymentsRequest.Builder lifecycleState(BlueGreenDeploymentSummary.LifecycleState lifecycleState)
Filters deployments by lifecycle state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
sortBy
public ListBlueGreenDeploymentsRequest.Builder sortBy(ListBlueGreenDeploymentsRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Time fields are default ordered as descending. Display name is default ordered as ascending.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
sortOrder
public ListBlueGreenDeploymentsRequest.Builder sortOrder(ListBlueGreenDeploymentsRequest.SortOrder sortOrder)
The sort order to use (ASC or DESC).- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListBlueGreenDeploymentsRequest.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 ListBlueGreenDeploymentsRequest.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 ListBlueGreenDeploymentsRequest.Builder copy(ListBlueGreenDeploymentsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListBlueGreenDeploymentsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListBlueGreenDeploymentsRequest build()
Build the instance of ListBlueGreenDeploymentsRequest 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 interfaceBmcRequest.Builder<ListBlueGreenDeploymentsRequest,Void>- Returns:
- instance of ListBlueGreenDeploymentsRequest
-
buildWithoutInvocationCallback
public ListBlueGreenDeploymentsRequest buildWithoutInvocationCallback()
Build the instance of ListBlueGreenDeploymentsRequest 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 ListBlueGreenDeploymentsRequest
-
-