public static class AddressList.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AddressList.Builder |
addresses(List<String> addresses)
List of addresses.
|
AddressList |
build() |
AddressList.Builder |
copy(AddressList model) |
AddressList.Builder |
name(String name)
Unique name to identify the group of addresses to be used in the policy rules.
|
AddressList.Builder |
parentResourceId(String parentResourceId)
OCID of the Network Firewall Policy this Address List belongs to.
|
AddressList.Builder |
totalAddresses(Integer totalAddresses)
Count of total Addresses in the AddressList
|
AddressList.Builder |
type(AddressListType type)
Type of address List.
|
public AddressList.Builder name(String name)
Unique name to identify the group of addresses to be used in the policy rules.
name
- the value to setpublic AddressList.Builder type(AddressListType type)
Type of address List. The accepted values are - * FQDN * IP
type
- the value to setpublic AddressList.Builder addresses(List<String> addresses)
List of addresses.
addresses
- the value to setpublic AddressList.Builder totalAddresses(Integer totalAddresses)
Count of total Addresses in the AddressList
totalAddresses
- the value to setpublic AddressList.Builder parentResourceId(String parentResourceId)
OCID of the Network Firewall Policy this Address List belongs to.
parentResourceId
- the value to setpublic AddressList build()
public AddressList.Builder copy(AddressList model)
Copyright © 2016–2024. All rights reserved.