Class CreateNetworkSecurityGroupDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.CreateNetworkSecurityGroupDetails.Builder
-
- Enclosing class:
- CreateNetworkSecurityGroupDetails
public static class CreateNetworkSecurityGroupDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
compartmentId
public 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
-
definedTags
public 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
-
displayName
public 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
-
freeformTags
public 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
-
vcnId
public 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
-
build
public CreateNetworkSecurityGroupDetails build()
-
copy
public CreateNetworkSecurityGroupDetails.Builder copy(CreateNetworkSecurityGroupDetails model)
-
-