public static class RecoveryServiceSubnetSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RecoveryServiceSubnetSummary |
build() |
RecoveryServiceSubnetSummary.Builder |
compartmentId(String compartmentId)
The compartment OCID.
|
RecoveryServiceSubnetSummary.Builder |
copy(RecoveryServiceSubnetSummary model) |
RecoveryServiceSubnetSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
RecoveryServiceSubnetSummary.Builder |
displayName(String displayName)
A user-provided name for the recovery service subnet.
|
RecoveryServiceSubnetSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
RecoveryServiceSubnetSummary.Builder |
id(String id)
The recovery service subnet OCID.
|
RecoveryServiceSubnetSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Detailed description about the current lifecycle state of the recovery service subnet.
|
RecoveryServiceSubnetSummary.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the recovery service subnet.
|
RecoveryServiceSubnetSummary.Builder |
nsgIds(List<String> nsgIds)
A list of network security group (NSG) OCIDs that are associated with the Recovery
Service subnet.
|
RecoveryServiceSubnetSummary.Builder |
subnetId(String subnetId)
Deprecated.
|
RecoveryServiceSubnetSummary.Builder |
subnets(List<String> subnets)
A list of OCIDs of all the subnets associated with the Recovery Service subnet.
|
RecoveryServiceSubnetSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
RecoveryServiceSubnetSummary.Builder |
timeCreated(Date timeCreated)
An RFC3339 formatted datetime string that indicates the last created time for a recovery
service subnet.
|
RecoveryServiceSubnetSummary.Builder |
timeUpdated(Date timeUpdated)
An RFC3339 formatted datetime string that indicates the last updated time for a recovery
service subnet.
|
RecoveryServiceSubnetSummary.Builder |
vcnId(String vcnId)
The OCID of the virtual cloud network (VCN) associated with the recovery service subnet.
|
public RecoveryServiceSubnetSummary.Builder id(String id)
The recovery service subnet OCID.
id
- the value to setpublic RecoveryServiceSubnetSummary.Builder displayName(String displayName)
A user-provided name for the recovery service subnet.
displayName
- the value to setpublic RecoveryServiceSubnetSummary.Builder compartmentId(String compartmentId)
The compartment OCID.
compartmentId
- the value to setpublic RecoveryServiceSubnetSummary.Builder vcnId(String vcnId)
The OCID of the virtual cloud network (VCN) associated with the recovery service subnet. You can create a single recovery service subnet per VCN.
vcnId
- the value to setpublic RecoveryServiceSubnetSummary.Builder subnetId(String subnetId)
Deprecated. One of the subnets associated with the Recovery Service subnet.
subnetId
- the value to setpublic RecoveryServiceSubnetSummary.Builder subnets(List<String> subnets)
A list of OCIDs of all the subnets associated with the Recovery Service subnet.
subnets
- the value to setpublic RecoveryServiceSubnetSummary.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 RecoveryServiceSubnetSummary.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’.
timeCreated
- the value to setpublic RecoveryServiceSubnetSummary.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’.
timeUpdated
- the value to setpublic RecoveryServiceSubnetSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the recovery service subnet.
lifecycleState
- the value to setpublic RecoveryServiceSubnetSummary.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
lifecycleDetails
- the value to setpublic RecoveryServiceSubnetSummary.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 RecoveryServiceSubnetSummary.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 RecoveryServiceSubnetSummary.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
systemTags
- the value to setpublic RecoveryServiceSubnetSummary build()
public RecoveryServiceSubnetSummary.Builder copy(RecoveryServiceSubnetSummary model)
Copyright © 2016–2024. All rights reserved.