@Generated(value="OracleSDKGenerator", comments="API Version: 20170115") public final class UpdateNetworkSecurityGroupsDetails extends Object
An object representing an updated list of network security groups (NSGs) that overwrites the existing list of NSGs.
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 NSG OCIDs associated with the load
balancer.
|
int |
hashCode() |
UpdateNetworkSecurityGroupsDetails.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value="networkSecurityGroupIds") @Deprecated 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 NSG OCIDs associated with the load balancer.
During the load balancer's creation, the service adds the new load balancer to the specified NSGs.
The benefits of associating the load balancer with NSGs include:
NSGs define network security rules to govern ingress and egress traffic for the load balancer.
The network security rules of other resources can reference the NSGs associated with the load balancer to ensure access.
Copyright © 2016–2021. All rights reserved.