Package com.oracle.bmc.recovery.model
Class CreateRecoveryServiceSubnetDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.recovery.model.CreateRecoveryServiceSubnetDetails.Builder
 
- 
- Enclosing class:
- CreateRecoveryServiceSubnetDetails
 
 public static class CreateRecoveryServiceSubnetDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateRecoveryServiceSubnetDetailsbuild()CreateRecoveryServiceSubnetDetails.BuildercompartmentId(String compartmentId)The compartment OCID.CreateRecoveryServiceSubnetDetails.Buildercopy(CreateRecoveryServiceSubnetDetails model)CreateRecoveryServiceSubnetDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateRecoveryServiceSubnetDetails.BuilderdisplayName(String displayName)A user-provided name for the recovery service subnet.CreateRecoveryServiceSubnetDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateRecoveryServiceSubnetDetails.BuildernsgIds(List<String> nsgIds)A list of network security group (NSG) OCIDs that are associated with the Recovery Service subnet.CreateRecoveryServiceSubnetDetails.BuildersubnetId(String subnetId)Deprecated.CreateRecoveryServiceSubnetDetails.Buildersubnets(List<String> subnets)A list of OCIDs of the subnets associated with the Recovery Service subnet.CreateRecoveryServiceSubnetDetails.BuildervcnId(String vcnId)The OCID of the virtual cloud network (VCN) that contains the recovery service subnet.
 
- 
- 
- 
Method Detail- 
displayNamepublic CreateRecoveryServiceSubnetDetails.Builder displayName(String displayName) A user-provided name for the recovery service subnet.The ‘displayName’ does not have to be unique, and it can be modified. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
subnetIdpublic CreateRecoveryServiceSubnetDetails.Builder subnetId(String subnetId) Deprecated.One of the subnets associated with the Recovery Service subnet. - Parameters:
- subnetId- the value to set
- Returns:
- this builder
 
 - 
subnetspublic CreateRecoveryServiceSubnetDetails.Builder subnets(List<String> subnets) A list of OCIDs of the subnets associated with the Recovery Service subnet.- Parameters:
- subnets- the value to set
- Returns:
- this builder
 
 - 
nsgIdspublic CreateRecoveryServiceSubnetDetails.Builder nsgIds(List<String> nsgIds) A list of network security group (NSG) OCIDs that are associated with the Recovery Service subnet.You can specify a maximum of 5 unique OCIDs, which implies that you can associate a maximum of 5 NSGs to each Recovery Service subnet. Specify an empty array if you want to remove all the associated NSGs from a Recovery Service subnet. See NetworkSecurityGroupfor more information.- Parameters:
- nsgIds- the value to set
- Returns:
- this builder
 
 - 
vcnIdpublic CreateRecoveryServiceSubnetDetails.Builder vcnId(String vcnId) The OCID of the virtual cloud network (VCN) that contains the recovery service subnet.You can create a single recovery service subnet per VCN. - Parameters:
- vcnId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CreateRecoveryServiceSubnetDetails.Builder compartmentId(String compartmentId) The compartment OCID.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateRecoveryServiceSubnetDetails.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
 
 - 
definedTagspublic CreateRecoveryServiceSubnetDetails.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”}}. For more information, see Resource Tags - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateRecoveryServiceSubnetDetails build() 
 - 
copypublic CreateRecoveryServiceSubnetDetails.Builder copy(CreateRecoveryServiceSubnetDetails model) 
 
- 
 
-