Package com.oracle.bmc.recovery.model
Class UpdateRecoveryServiceSubnetDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.recovery.model.UpdateRecoveryServiceSubnetDetails.Builder
-
- Enclosing class:
- UpdateRecoveryServiceSubnetDetails
public static class UpdateRecoveryServiceSubnetDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateRecoveryServiceSubnetDetails
build()
UpdateRecoveryServiceSubnetDetails.Builder
copy(UpdateRecoveryServiceSubnetDetails model)
UpdateRecoveryServiceSubnetDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateRecoveryServiceSubnetDetails.Builder
displayName(String displayName)
A user-provided name for the recovery service subnet.UpdateRecoveryServiceSubnetDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.UpdateRecoveryServiceSubnetDetails.Builder
nsgIds(List<String> nsgIds)
A list of network security group (NSG) OCIDs that are associated with the Recovery Service subnet.UpdateRecoveryServiceSubnetDetails.Builder
subnets(List<String> subnets)
A list of OCIDs of the subnets associated with the recovery service subnet.
-
-
-
Method Detail
-
displayName
public UpdateRecoveryServiceSubnetDetails.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
-
subnets
public UpdateRecoveryServiceSubnetDetails.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
-
nsgIds
public UpdateRecoveryServiceSubnetDetails.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
NetworkSecurityGroup
for more information.- Parameters:
nsgIds
- the value to set- Returns:
- this builder
-
freeformTags
public UpdateRecoveryServiceSubnetDetails.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
-
definedTags
public UpdateRecoveryServiceSubnetDetails.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
-
build
public UpdateRecoveryServiceSubnetDetails build()
-
copy
public UpdateRecoveryServiceSubnetDetails.Builder copy(UpdateRecoveryServiceSubnetDetails model)
-
-