Class RecoveryServiceSubnet.Builder
- java.lang.Object
- 
- com.oracle.bmc.recovery.model.RecoveryServiceSubnet.Builder
 
- 
- Enclosing class:
- RecoveryServiceSubnet
 
 public static class RecoveryServiceSubnet.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RecoveryServiceSubnetbuild()RecoveryServiceSubnet.BuildercompartmentId(String compartmentId)The compartment OCID.RecoveryServiceSubnet.Buildercopy(RecoveryServiceSubnet model)RecoveryServiceSubnet.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.RecoveryServiceSubnet.BuilderdisplayName(String displayName)A user-provided name for the recovery service subnet.RecoveryServiceSubnet.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.RecoveryServiceSubnet.Builderid(String id)The recovery service subnet OCID.RecoveryServiceSubnet.BuilderlifecycleDetails(String lifecycleDetails)Detailed description about the current lifecycle state of the recovery service subnet.RecoveryServiceSubnet.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the recovery service subnet.RecoveryServiceSubnet.BuildernsgIds(List<String> nsgIds)A list of network security group (NSG) OCIDs that are associated with the Recovery Service subnet.RecoveryServiceSubnet.BuildersubnetId(String subnetId)Deprecated.RecoveryServiceSubnet.Buildersubnets(List<String> subnets)A list of OCIDs of all the subnets associated with the Recovery Service subnet.RecoveryServiceSubnet.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.RecoveryServiceSubnet.BuildertimeCreated(Date timeCreated)An RFC3339 formatted datetime string that indicates the last created time for a recovery service subnet.RecoveryServiceSubnet.BuildertimeUpdated(Date timeUpdated)An RFC3339 formatted datetime string that indicates the last updated time for a recovery service subnet.RecoveryServiceSubnet.BuildervcnId(String vcnId)VCN Identifier.
 
- 
- 
- 
Method Detail- 
idpublic RecoveryServiceSubnet.Builder id(String id) The recovery service subnet OCID.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic RecoveryServiceSubnet.Builder displayName(String displayName) A user-provided name for the recovery service subnet.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic RecoveryServiceSubnet.Builder compartmentId(String compartmentId) The compartment OCID.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
vcnIdpublic RecoveryServiceSubnet.Builder vcnId(String vcnId) VCN Identifier.- Parameters:
- vcnId- the value to set
- Returns:
- this builder
 
 - 
subnetIdpublic RecoveryServiceSubnet.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 RecoveryServiceSubnet.Builder subnets(List<String> subnets) A list of OCIDs of all the subnets associated with the Recovery Service subnet.- Parameters:
- subnets- the value to set
- Returns:
- this builder
 
 - 
nsgIdspublic RecoveryServiceSubnet.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
 
 - 
timeCreatedpublic RecoveryServiceSubnet.Builder timeCreated(Date timeCreated) An RFC3339 formatted datetime string that indicates the last created time for a recovery service subnet.For example: ‘2020-05-22T21:10:29.600Z’. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic RecoveryServiceSubnet.Builder timeUpdated(Date timeUpdated) An RFC3339 formatted datetime string that indicates the last updated time for a recovery service subnet.For example: ‘2020-05-22T21:10:29.600Z’. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic RecoveryServiceSubnet.Builder lifecycleState(LifecycleState lifecycleState) The current state of the recovery service subnet.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic RecoveryServiceSubnet.Builder lifecycleDetails(String lifecycleDetails) Detailed description about the current lifecycle state of the recovery service subnet.For example, it can be used to provide actionable information for a resource in a Failed state - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic RecoveryServiceSubnet.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 RecoveryServiceSubnet.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
 
 - 
systemTagspublic RecoveryServiceSubnet.Builder systemTags(Map<String,Map<String,Object>> systemTags) Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}. For more information, see Resource Tags - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic RecoveryServiceSubnet build() 
 - 
copypublic RecoveryServiceSubnet.Builder copy(RecoveryServiceSubnet model) 
 
- 
 
-