Package com.oracle.bmc.identity.model
Class UpdateNetworkSourceDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.identity.model.UpdateNetworkSourceDetails.Builder
-
- Enclosing class:
- UpdateNetworkSourceDetails
public static class UpdateNetworkSourceDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateNetworkSourceDetails
build()
UpdateNetworkSourceDetails.Builder
copy(UpdateNetworkSourceDetails model)
UpdateNetworkSourceDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateNetworkSourceDetails.Builder
description(String description)
The description you assign to the network source.UpdateNetworkSourceDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.UpdateNetworkSourceDetails.Builder
publicSourceList(List<String> publicSourceList)
A list of allowed public IP addresses and CIDR ranges.UpdateNetworkSourceDetails.Builder
services(List<String> services)
– The services attribute has no effect and is reserved for use by Oracle.UpdateNetworkSourceDetails.Builder
virtualSourceList(List<NetworkSources_virtualSourceList> virtualSourceList)
A list of allowed VCN OCID and IP range pairs.
-
-
-
Method Detail
-
description
public UpdateNetworkSourceDetails.Builder description(String description)
The description you assign to the network source.Does not have to be unique, and it’s changeable.
- Parameters:
description
- the value to set- Returns:
- this builder
-
publicSourceList
public UpdateNetworkSourceDetails.Builder publicSourceList(List<String> publicSourceList)
A list of allowed public IP addresses and CIDR ranges.- Parameters:
publicSourceList
- the value to set- Returns:
- this builder
-
virtualSourceList
public UpdateNetworkSourceDetails.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” ]
- Parameters:
virtualSourceList
- the value to set- Returns:
- this builder
-
services
public UpdateNetworkSourceDetails.Builder services(List<String> services)
– The services attribute has no effect and is reserved for use by Oracle.–
- Parameters:
services
- the value to set- Returns:
- this builder
-
freeformTags
public UpdateNetworkSourceDetails.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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public UpdateNetworkSourceDetails.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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public UpdateNetworkSourceDetails build()
-
copy
public UpdateNetworkSourceDetails.Builder copy(UpdateNetworkSourceDetails model)
-
-