public static class CreateNetworkSourceDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateNetworkSourceDetails |
build() |
CreateNetworkSourceDetails.Builder |
compartmentId(String compartmentId)
The OCID of the tenancy (root compartment) containing the network source object.
|
CreateNetworkSourceDetails.Builder |
copy(CreateNetworkSourceDetails model) |
CreateNetworkSourceDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateNetworkSourceDetails.Builder |
description(String description)
The description you assign to the network source during creation.
|
CreateNetworkSourceDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CreateNetworkSourceDetails.Builder |
name(String name)
The name you assign to the network source during creation.
|
CreateNetworkSourceDetails.Builder |
publicSourceList(List<String> publicSourceList)
A list of allowed public IP addresses and CIDR ranges.
|
CreateNetworkSourceDetails.Builder |
services(List<String> services)
– The services attribute has no effect and is reserved for use by Oracle.
|
CreateNetworkSourceDetails.Builder |
virtualSourceList(List<NetworkSources_virtualSourceList> virtualSourceList)
A list of allowed VCN OCID and IP range pairs.
|
public CreateNetworkSourceDetails.Builder compartmentId(String compartmentId)
The OCID of the tenancy (root compartment) containing the network source object.
compartmentId
- the value to setpublic CreateNetworkSourceDetails.Builder name(String name)
The name you assign to the network source during creation. The name must be unique across all groups in the tenancy and cannot be changed.
name
- the value to setpublic CreateNetworkSourceDetails.Builder publicSourceList(List<String> publicSourceList)
A list of allowed public IP addresses and CIDR ranges.
publicSourceList
- the value to setpublic CreateNetworkSourceDetails.Builder virtualSourceList(List<NetworkSources_virtualSourceList> virtualSourceList)
A list of allowed VCN OCID and IP range pairs. Example:"vcnId":
"ocid1.vcn.oc1.iad.aaaaaaaaexampleuniqueID", "ipRanges": [ "129.213.39.0/24" ]
virtualSourceList
- the value to setpublic CreateNetworkSourceDetails.Builder services(List<String> services)
– The services attribute has no effect and is reserved for use by Oracle. –
services
- the value to setpublic CreateNetworkSourceDetails.Builder description(String description)
The description you assign to the network source during creation. Does not have to be unique, and it’s changeable.
description
- the value to setpublic CreateNetworkSourceDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags. Example:
{"Department": "Finance"}
freeformTags
- the value to setpublic CreateNetworkSourceDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
more information, see Resource
Tags. Example:
{"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic CreateNetworkSourceDetails build()
public CreateNetworkSourceDetails.Builder copy(CreateNetworkSourceDetails model)
Copyright © 2016–2024. All rights reserved.