public static class CreateRecoveryServiceSubnetDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateRecoveryServiceSubnetDetails |
build() |
CreateRecoveryServiceSubnetDetails.Builder |
compartmentId(String compartmentId)
The compartment OCID.
|
CreateRecoveryServiceSubnetDetails.Builder |
copy(CreateRecoveryServiceSubnetDetails model) |
CreateRecoveryServiceSubnetDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateRecoveryServiceSubnetDetails.Builder |
displayName(String displayName)
A user-provided name for the recovery service subnet.
|
CreateRecoveryServiceSubnetDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateRecoveryServiceSubnetDetails.Builder |
nsgIds(List<String> nsgIds)
A list of network security group (NSG) OCIDs that are associated with the Recovery
Service subnet.
|
CreateRecoveryServiceSubnetDetails.Builder |
subnetId(String subnetId)
Deprecated.
|
CreateRecoveryServiceSubnetDetails.Builder |
subnets(List<String> subnets)
A list of OCIDs of the subnets associated with the Recovery Service subnet.
|
CreateRecoveryServiceSubnetDetails.Builder |
vcnId(String vcnId)
The OCID of the virtual cloud network (VCN) that contains the recovery service subnet.
|
public 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.
displayName
- the value to setpublic CreateRecoveryServiceSubnetDetails.Builder subnetId(String subnetId)
Deprecated. One of the subnets associated with the Recovery Service subnet.
subnetId
- the value to setpublic CreateRecoveryServiceSubnetDetails.Builder subnets(List<String> subnets)
A list of OCIDs of the subnets associated with the Recovery Service subnet.
subnets
- the value to setpublic 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 NetworkSecurityGroup
for more information.
nsgIds
- the value to setpublic 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.
vcnId
- the value to setpublic CreateRecoveryServiceSubnetDetails.Builder compartmentId(String compartmentId)
The compartment OCID.
compartmentId
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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
definedTags
- the value to setpublic CreateRecoveryServiceSubnetDetails build()
public CreateRecoveryServiceSubnetDetails.Builder copy(CreateRecoveryServiceSubnetDetails model)
Copyright © 2016–2024. All rights reserved.