Class GetGovernanceRuleRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.governancerulescontrolplane.requests.GetGovernanceRuleRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetGovernanceRuleRequest,Void>
- Enclosing class:
- GetGovernanceRuleRequest
public static class GetGovernanceRuleRequest.Builder extends Object implements BmcRequest.Builder<GetGovernanceRuleRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetGovernanceRuleRequestbuild()Build the instance of GetGovernanceRuleRequest as configured by this builderGetGovernanceRuleRequestbuildWithoutInvocationCallback()Build the instance of GetGovernanceRuleRequest as configured by this builderGetGovernanceRuleRequest.Buildercopy(GetGovernanceRuleRequest o)Copy method to populate the builder with values from the given instance.GetGovernanceRuleRequest.BuildergovernanceRuleId(String governanceRuleId)Unique governance rule identifier.GetGovernanceRuleRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetGovernanceRuleRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.GetGovernanceRuleRequest.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
-
governanceRuleId
public GetGovernanceRuleRequest.Builder governanceRuleId(String governanceRuleId)
Unique governance rule identifier.- Parameters:
governanceRuleId- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetGovernanceRuleRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetGovernanceRuleRequest.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 GetGovernanceRuleRequest.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 GetGovernanceRuleRequest.Builder copy(GetGovernanceRuleRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<GetGovernanceRuleRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetGovernanceRuleRequest build()
Build the instance of GetGovernanceRuleRequest 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<GetGovernanceRuleRequest,Void>- Returns:
- instance of GetGovernanceRuleRequest
-
buildWithoutInvocationCallback
public GetGovernanceRuleRequest buildWithoutInvocationCallback()
Build the instance of GetGovernanceRuleRequest 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 GetGovernanceRuleRequest
-
-