Class CreateResourceGroupRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.analytics.requests.CreateResourceGroupRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<CreateResourceGroupRequest,CreateResourceGroupDetails>
- Enclosing class:
- CreateResourceGroupRequest
public static class CreateResourceGroupRequest.Builder extends Object implements BmcRequest.Builder<CreateResourceGroupRequest,CreateResourceGroupDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateResourceGroupRequest.BuilderanalyticsInstanceId(String analyticsInstanceId)The OCID of the Analytics instance.CreateResourceGroupRequest.Builderbody$(CreateResourceGroupDetails body)Alternative setter for the body parameter.CreateResourceGroupRequestbuild()Build the instance of CreateResourceGroupRequest as configured by this builderCreateResourceGroupRequestbuildWithoutInvocationCallback()Build the instance of CreateResourceGroupRequest as configured by this builderCreateResourceGroupRequest.Buildercopy(CreateResourceGroupRequest o)Copy method to populate the builder with values from the given instance.CreateResourceGroupRequest.BuildercreateResourceGroupDetails(CreateResourceGroupDetails createResourceGroupDetails)Resource group detailsCreateResourceGroupRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.CreateResourceGroupRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.CreateResourceGroupRequest.BuilderopcRetryToken(String opcRetryToken)A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.CreateResourceGroupRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
analyticsInstanceId
public CreateResourceGroupRequest.Builder analyticsInstanceId(String analyticsInstanceId)
The OCID of the Analytics instance.- Parameters:
analyticsInstanceId- the value to set- Returns:
- this builder instance
-
createResourceGroupDetails
public CreateResourceGroupRequest.Builder createResourceGroupDetails(CreateResourceGroupDetails createResourceGroupDetails)
Resource group details- Parameters:
createResourceGroupDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public CreateResourceGroupRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
opcRetryToken
public CreateResourceGroupRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected).
- Parameters:
opcRetryToken- the value to set- Returns:
- this builder instance
-
invocationCallback
public CreateResourceGroupRequest.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 CreateResourceGroupRequest.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 CreateResourceGroupRequest.Builder copy(CreateResourceGroupRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<CreateResourceGroupRequest,CreateResourceGroupDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public CreateResourceGroupRequest build()
Build the instance of CreateResourceGroupRequest 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<CreateResourceGroupRequest,CreateResourceGroupDetails>- Returns:
- instance of CreateResourceGroupRequest
-
body$
public CreateResourceGroupRequest.Builder body$(CreateResourceGroupDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<CreateResourceGroupRequest,CreateResourceGroupDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public CreateResourceGroupRequest buildWithoutInvocationCallback()
Build the instance of CreateResourceGroupRequest 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 CreateResourceGroupRequest
-
-