Class ListAvailableShapesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.requests.ListAvailableShapesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListAvailableShapesRequest,Void>
- Enclosing class:
- ListAvailableShapesRequest
public static class ListAvailableShapesRequest.Builder extends Object implements BmcRequest.Builder<ListAvailableShapesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAvailableShapesRequest.Builder
availabilityDomain(String availabilityDomain)
The availability domain in which to list resources.ListAvailableShapesRequest
build()
Build the instance of ListAvailableShapesRequest as configured by this builderListAvailableShapesRequest
buildWithoutInvocationCallback()
Build the instance of ListAvailableShapesRequest as configured by this builderListAvailableShapesRequest.Builder
compartmentId(String compartmentId)
The ID of the compartment in which to list resources.ListAvailableShapesRequest.Builder
copy(ListAvailableShapesRequest o)
Copy method to populate the builder with values from the given instance.ListAvailableShapesRequest.Builder
dvhHostId(String dvhHostId)
The ID of the Dvh in which to list resources.ListAvailableShapesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListAvailableShapesRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListAvailableShapesRequest.Builder
migrationPlanId(String migrationPlanId)
Unique migration plan identifierListAvailableShapesRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListAvailableShapesRequest.Builder
page(String page)
A token representing the position at which to start retrieving results.ListAvailableShapesRequest.Builder
reservedCapacityId(String reservedCapacityId)
The reserved capacity ID for which to list resources.ListAvailableShapesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListAvailableShapesRequest.Builder
sortBy(ListAvailableShapesRequest.SortBy sortBy)
The field to sort by.ListAvailableShapesRequest.Builder
sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.-
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
-
migrationPlanId
public ListAvailableShapesRequest.Builder migrationPlanId(String migrationPlanId)
Unique migration plan identifier- Parameters:
migrationPlanId
- the value to set- Returns:
- this builder instance
-
compartmentId
public ListAvailableShapesRequest.Builder compartmentId(String compartmentId)
The ID of the compartment in which to list resources.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
dvhHostId
public ListAvailableShapesRequest.Builder dvhHostId(String dvhHostId)
The ID of the Dvh in which to list resources.- Parameters:
dvhHostId
- the value to set- Returns:
- this builder instance
-
availabilityDomain
public ListAvailableShapesRequest.Builder availabilityDomain(String availabilityDomain)
The availability domain in which to list resources.- Parameters:
availabilityDomain
- the value to set- Returns:
- this builder instance
-
reservedCapacityId
public ListAvailableShapesRequest.Builder reservedCapacityId(String reservedCapacityId)
The reserved capacity ID for which to list resources.- Parameters:
reservedCapacityId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListAvailableShapesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
limit
public ListAvailableShapesRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListAvailableShapesRequest.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 the previous response.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListAvailableShapesRequest.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 ListAvailableShapesRequest.Builder sortBy(ListAvailableShapesRequest.SortBy sortBy)
The field to sort by.Only one sort order can be provided. The default order for ‘timeCreated’ is descending. The default order for ‘displayName’ is ascending.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListAvailableShapesRequest.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 ListAvailableShapesRequest.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 ListAvailableShapesRequest.Builder copy(ListAvailableShapesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListAvailableShapesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListAvailableShapesRequest build()
Build the instance of ListAvailableShapesRequest 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<ListAvailableShapesRequest,Void>
- Returns:
- instance of ListAvailableShapesRequest
-
buildWithoutInvocationCallback
public ListAvailableShapesRequest buildWithoutInvocationCallback()
Build the instance of ListAvailableShapesRequest 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 ListAvailableShapesRequest
-
-