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