@Generated(value="OracleSDKGenerator", comments="API Version: 20200501") public final class UpdateNetworkSecurityGroupsDetails extends Object
An object representing an updated list of network security groups that overwrites the existing list of network security groups.
UpdateNetworkSecurityGroupsDetails.Builder
. This model distinguishes fields
that are null
because they are unset from fields that are explicitly set to null
. This is done in
the setter methods of the UpdateNetworkSecurityGroupsDetails.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
UpdateNetworkSecurityGroupsDetails.Builder |
Constructor and Description |
---|
UpdateNetworkSecurityGroupsDetails(List<String> networkSecurityGroupIds)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateNetworkSecurityGroupsDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
List<String> |
getNetworkSecurityGroupIds()
An array of network security group OCIDs associated with the network load
balancer.
|
int |
hashCode() |
UpdateNetworkSecurityGroupsDetails.Builder |
toBuilder() |
String |
toString() |
@Deprecated @ConstructorProperties(value="networkSecurityGroupIds") public UpdateNetworkSecurityGroupsDetails(List<String> networkSecurityGroupIds)
public static UpdateNetworkSecurityGroupsDetails.Builder builder()
Create a new builder.
public UpdateNetworkSecurityGroupsDetails.Builder toBuilder()
public List<String> getNetworkSecurityGroupIds()
An array of network security group OCIDs associated with the network load balancer.
During the creation of the network load balancer, the service adds the new network load balancer to the specified network security groups.
The benefits of associating the network load balancer with network security groups include:
Network security groups define network security rules to govern ingress and egress traffic for the network load balancer.
The network security rules of other resources can reference the network security groups associated with the network load balancer to ensure access.
Copyright © 2016–2022. All rights reserved.