Package com.oracle.bmc.desktops.requests
Class StartDesktopRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.desktops.requests.StartDesktopRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<StartDesktopRequest,Void>
- Enclosing class:
- StartDesktopRequest
public static class StartDesktopRequest.Builder extends Object implements BmcRequest.Builder<StartDesktopRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StartDesktopRequestbuild()Build the instance of StartDesktopRequest as configured by this builderStartDesktopRequestbuildWithoutInvocationCallback()Build the instance of StartDesktopRequest as configured by this builderStartDesktopRequest.Buildercopy(StartDesktopRequest o)Copy method to populate the builder with values from the given instance.StartDesktopRequest.BuilderdesktopId(String desktopId)The OCID of the desktop.StartDesktopRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.StartDesktopRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.StartDesktopRequest.BuilderopcRequestId(String opcRequestId)The unique identifier of the request.StartDesktopRequest.BuilderopcRetryToken(String opcRetryToken)A token that uniquely identifies a request.StartDesktopRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.-
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
-
desktopId
public StartDesktopRequest.Builder desktopId(String desktopId)
The OCID of the desktop.- Parameters:
desktopId- the value to set- Returns:
- this builder instance
-
opcRequestId
public StartDesktopRequest.Builder opcRequestId(String opcRequestId)
The unique identifier of the request.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
ifMatch
public StartDesktopRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
opcRetryToken
public StartDesktopRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request.- Parameters:
opcRetryToken- the value to set- Returns:
- this builder instance
-
invocationCallback
public StartDesktopRequest.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 StartDesktopRequest.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 StartDesktopRequest.Builder copy(StartDesktopRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<StartDesktopRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public StartDesktopRequest build()
Build the instance of StartDesktopRequest 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<StartDesktopRequest,Void>- Returns:
- instance of StartDesktopRequest
-
buildWithoutInvocationCallback
public StartDesktopRequest buildWithoutInvocationCallback()
Build the instance of StartDesktopRequest 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 StartDesktopRequest
-
-