Package com.oracle.bmc.identity.model
Class NetworkSources.Builder
- java.lang.Object
- 
- com.oracle.bmc.identity.model.NetworkSources.Builder
 
- 
- Enclosing class:
- NetworkSources
 
 public static class NetworkSources.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkSourcesbuild()NetworkSources.BuildercompartmentId(String compartmentId)The OCID of the tenancy containing the network source.NetworkSources.Buildercopy(NetworkSources model)NetworkSources.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.NetworkSources.Builderdescription(String description)The description you assign to the network source.NetworkSources.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.NetworkSources.Builderid(String id)The OCID of the network source.NetworkSources.BuilderinactiveStatus(Long inactiveStatus)The detailed status of INACTIVE lifecycleState.NetworkSources.BuilderlifecycleState(NetworkSources.LifecycleState lifecycleState)The network source object’s current state.NetworkSources.Buildername(String name)The name you assign to the network source during creation.NetworkSources.BuilderpublicSourceList(List<String> publicSourceList)A list of allowed public IPs and CIDR ranges.NetworkSources.Builderservices(List<String> services)– The services attribute has no effect and is reserved for use by Oracle.NetworkSources.BuildertimeCreated(Date timeCreated)Date and time the network source was created, in the format defined by RFC3339.NetworkSources.BuildervirtualSourceList(List<NetworkSources_virtualSourceList> virtualSourceList)A list of allowed VCN OCID and IP range pairs.
 
- 
- 
- 
Method Detail- 
idpublic NetworkSources.Builder id(String id) The OCID of the network source.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic NetworkSources.Builder compartmentId(String compartmentId) The OCID of the tenancy containing the network source.The tenancy is the root compartment. - Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
namepublic NetworkSources.Builder name(String name) The name you assign to the network source during creation.The name must be unique across the tenancy and cannot be changed. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic NetworkSources.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
 
 - 
publicSourceListpublic NetworkSources.Builder publicSourceList(List<String> publicSourceList) A list of allowed public IPs and CIDR ranges.- Parameters:
- publicSourceList- the value to set
- Returns:
- this builder
 
 - 
virtualSourceListpublic NetworkSources.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
 
 - 
servicespublic NetworkSources.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
 
 - 
timeCreatedpublic NetworkSources.Builder timeCreated(Date timeCreated) Date and time the network source was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic NetworkSources.Builder lifecycleState(NetworkSources.LifecycleState lifecycleState) The network source object’s current state.After creating a network source, make sure its lifecycleState changes from CREATING to ACTIVE before using it. - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
inactiveStatuspublic NetworkSources.Builder inactiveStatus(Long inactiveStatus) The detailed status of INACTIVE lifecycleState.- Parameters:
- inactiveStatus- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic NetworkSources.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
 
 - 
definedTagspublic NetworkSources.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
 
 - 
buildpublic NetworkSources build() 
 - 
copypublic NetworkSources.Builder copy(NetworkSources model) 
 
- 
 
-