Class CreateNetworkSecurityGroupDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.vnmonitoring.model.CreateNetworkSecurityGroupDetails.Builder
 
- 
- Enclosing class:
- CreateNetworkSecurityGroupDetails
 
 public static class CreateNetworkSecurityGroupDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateNetworkSecurityGroupDetailsbuild()CreateNetworkSecurityGroupDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment to contain the network security group.CreateNetworkSecurityGroupDetails.Buildercopy(CreateNetworkSecurityGroupDetails model)CreateNetworkSecurityGroupDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateNetworkSecurityGroupDetails.BuilderdisplayName(String displayName)A user-friendly name.CreateNetworkSecurityGroupDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateNetworkSecurityGroupDetails.BuildervcnId(String vcnId)The OCID of the VCN to create the network security group in.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic CreateNetworkSecurityGroupDetails.Builder compartmentId(String compartmentId) The OCID of the compartment to contain the network security group.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic CreateNetworkSecurityGroupDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic CreateNetworkSecurityGroupDetails.Builder displayName(String displayName) A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateNetworkSecurityGroupDetails.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
vcnIdpublic CreateNetworkSecurityGroupDetails.Builder vcnId(String vcnId) The OCID of the VCN to create the network security group in.- Parameters:
- vcnId- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateNetworkSecurityGroupDetails build() 
 - 
copypublic CreateNetworkSecurityGroupDetails.Builder copy(CreateNetworkSecurityGroupDetails model) 
 
- 
 
-