public static class UpdateAccessRulesRequest.Builder extends Object implements BmcRequest.Builder<UpdateAccessRulesRequest,List<AccessRule>>
public UpdateAccessRulesRequest.Builder invocationCallback(com.oracle.bmc.util.internal.Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic UpdateAccessRulesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic UpdateAccessRulesRequest.Builder copy(UpdateAccessRulesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<UpdateAccessRulesRequest,List<AccessRule>>
public UpdateAccessRulesRequest build()
Build the instance of UpdateAccessRulesRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<UpdateAccessRulesRequest,List<AccessRule>>
public UpdateAccessRulesRequest.Builder body$(List<AccessRule> body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<UpdateAccessRulesRequest,List<AccessRule>>
body
- the body parameterpublic UpdateAccessRulesRequest.Builder waasPolicyId(String waasPolicyId)
public UpdateAccessRulesRequest.Builder accessRules(List<AccessRule> accessRules)
public UpdateAccessRulesRequest.Builder opcRequestId(String opcRequestId)
public UpdateAccessRulesRequest.Builder opcRetryToken(String opcRetryToken)
public UpdateAccessRulesRequest.Builder ifMatch(String ifMatch)
public UpdateAccessRulesRequest buildWithoutInvocationCallback()
Copyright © 2016–2021. All rights reserved.