Package com.oracle.bmc.waa.requests
Class PurgeWebAppAccelerationCacheRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.waa.requests.PurgeWebAppAccelerationCacheRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<PurgeWebAppAccelerationCacheRequest,PurgeWebAppAccelerationCacheDetails>
- Enclosing class:
- PurgeWebAppAccelerationCacheRequest
public static class PurgeWebAppAccelerationCacheRequest.Builder extends Object implements BmcRequest.Builder<PurgeWebAppAccelerationCacheRequest,PurgeWebAppAccelerationCacheDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PurgeWebAppAccelerationCacheRequest.Builder
body$(PurgeWebAppAccelerationCacheDetails body)
Alternative setter for the body parameter.PurgeWebAppAccelerationCacheRequest
build()
Build the instance of PurgeWebAppAccelerationCacheRequest as configured by this builderPurgeWebAppAccelerationCacheRequest
buildWithoutInvocationCallback()
Build the instance of PurgeWebAppAccelerationCacheRequest as configured by this builderPurgeWebAppAccelerationCacheRequest.Builder
copy(PurgeWebAppAccelerationCacheRequest o)
Copy method to populate the builder with values from the given instance.PurgeWebAppAccelerationCacheRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.PurgeWebAppAccelerationCacheRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.PurgeWebAppAccelerationCacheRequest.Builder
purgeWebAppAccelerationCacheDetails(PurgeWebAppAccelerationCacheDetails purgeWebAppAccelerationCacheDetails)
Options for the cache purge.PurgeWebAppAccelerationCacheRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.PurgeWebAppAccelerationCacheRequest.Builder
webAppAccelerationId(String webAppAccelerationId)
The OCID of the WebAppAcceleration.
-
-
-
Method Detail
-
webAppAccelerationId
public PurgeWebAppAccelerationCacheRequest.Builder webAppAccelerationId(String webAppAccelerationId)
The OCID of the WebAppAcceleration.- Parameters:
webAppAccelerationId
- the value to set- Returns:
- this builder instance
-
purgeWebAppAccelerationCacheDetails
public PurgeWebAppAccelerationCacheRequest.Builder purgeWebAppAccelerationCacheDetails(PurgeWebAppAccelerationCacheDetails purgeWebAppAccelerationCacheDetails)
Options for the cache purge.- Parameters:
purgeWebAppAccelerationCacheDetails
- the value to set- Returns:
- this builder instance
-
opcRequestId
public PurgeWebAppAccelerationCacheRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public PurgeWebAppAccelerationCacheRequest.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 PurgeWebAppAccelerationCacheRequest.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 PurgeWebAppAccelerationCacheRequest.Builder copy(PurgeWebAppAccelerationCacheRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<PurgeWebAppAccelerationCacheRequest,PurgeWebAppAccelerationCacheDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public PurgeWebAppAccelerationCacheRequest build()
Build the instance of PurgeWebAppAccelerationCacheRequest 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<PurgeWebAppAccelerationCacheRequest,PurgeWebAppAccelerationCacheDetails>
- Returns:
- instance of PurgeWebAppAccelerationCacheRequest
-
body$
public PurgeWebAppAccelerationCacheRequest.Builder body$(PurgeWebAppAccelerationCacheDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<PurgeWebAppAccelerationCacheRequest,PurgeWebAppAccelerationCacheDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public PurgeWebAppAccelerationCacheRequest buildWithoutInvocationCallback()
Build the instance of PurgeWebAppAccelerationCacheRequest 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 PurgeWebAppAccelerationCacheRequest
-
-