Package com.oracle.bmc.core.requests
Class UpdateNetworkSecurityGroupSecurityRulesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.core.requests.UpdateNetworkSecurityGroupSecurityRulesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateNetworkSecurityGroupSecurityRulesRequest,UpdateNetworkSecurityGroupSecurityRulesDetails>
- Enclosing class:
- UpdateNetworkSecurityGroupSecurityRulesRequest
public static class UpdateNetworkSecurityGroupSecurityRulesRequest.Builder extends Object implements BmcRequest.Builder<UpdateNetworkSecurityGroupSecurityRulesRequest,UpdateNetworkSecurityGroupSecurityRulesDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateNetworkSecurityGroupSecurityRulesRequest.Builder
body$(UpdateNetworkSecurityGroupSecurityRulesDetails body)
Alternative setter for the body parameter.UpdateNetworkSecurityGroupSecurityRulesRequest
build()
Build the instance of UpdateNetworkSecurityGroupSecurityRulesRequest as configured by this builderUpdateNetworkSecurityGroupSecurityRulesRequest
buildWithoutInvocationCallback()
Build the instance of UpdateNetworkSecurityGroupSecurityRulesRequest as configured by this builderUpdateNetworkSecurityGroupSecurityRulesRequest.Builder
copy(UpdateNetworkSecurityGroupSecurityRulesRequest o)
Copy method to populate the builder with values from the given instance.UpdateNetworkSecurityGroupSecurityRulesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.UpdateNetworkSecurityGroupSecurityRulesRequest.Builder
networkSecurityGroupId(String networkSecurityGroupId)
The OCID of the network security group.UpdateNetworkSecurityGroupSecurityRulesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.UpdateNetworkSecurityGroupSecurityRulesRequest.Builder
updateNetworkSecurityGroupSecurityRulesDetails(UpdateNetworkSecurityGroupSecurityRulesDetails updateNetworkSecurityGroupSecurityRulesDetails)
Request with one or more security rules associated with the network security group that will be updated.
-
-
-
Method Detail
-
networkSecurityGroupId
public UpdateNetworkSecurityGroupSecurityRulesRequest.Builder networkSecurityGroupId(String networkSecurityGroupId)
The OCID of the network security group.- Parameters:
networkSecurityGroupId
- the value to set- Returns:
- this builder instance
-
updateNetworkSecurityGroupSecurityRulesDetails
public UpdateNetworkSecurityGroupSecurityRulesRequest.Builder updateNetworkSecurityGroupSecurityRulesDetails(UpdateNetworkSecurityGroupSecurityRulesDetails updateNetworkSecurityGroupSecurityRulesDetails)
Request with one or more security rules associated with the network security group that will be updated.- Parameters:
updateNetworkSecurityGroupSecurityRulesDetails
- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateNetworkSecurityGroupSecurityRulesRequest.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 UpdateNetworkSecurityGroupSecurityRulesRequest.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 UpdateNetworkSecurityGroupSecurityRulesRequest.Builder copy(UpdateNetworkSecurityGroupSecurityRulesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<UpdateNetworkSecurityGroupSecurityRulesRequest,UpdateNetworkSecurityGroupSecurityRulesDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateNetworkSecurityGroupSecurityRulesRequest build()
Build the instance of UpdateNetworkSecurityGroupSecurityRulesRequest 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<UpdateNetworkSecurityGroupSecurityRulesRequest,UpdateNetworkSecurityGroupSecurityRulesDetails>
- Returns:
- instance of UpdateNetworkSecurityGroupSecurityRulesRequest
-
body$
public UpdateNetworkSecurityGroupSecurityRulesRequest.Builder body$(UpdateNetworkSecurityGroupSecurityRulesDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<UpdateNetworkSecurityGroupSecurityRulesRequest,UpdateNetworkSecurityGroupSecurityRulesDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateNetworkSecurityGroupSecurityRulesRequest buildWithoutInvocationCallback()
Build the instance of UpdateNetworkSecurityGroupSecurityRulesRequest 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 UpdateNetworkSecurityGroupSecurityRulesRequest
-
-