SitePairProps
Properties for defining a SitePair.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-hdr-sitepair
Initializer
import com.aliyun.ros.cdk.hdr.SitePairProps;
SitePairProps.builder()
.primarySiteName(java.lang.String)
.primarySiteName(IResolvable)
.primarySiteRegionId(java.lang.String)
.primarySiteRegionId(IResolvable)
.primarySiteType(java.lang.String)
.primarySiteType(IResolvable)
.primarySiteVpcId(java.lang.String)
.primarySiteVpcId(IResolvable)
.secondarySiteName(java.lang.String)
.secondarySiteName(IResolvable)
.secondarySiteRegionId(java.lang.String)
.secondarySiteRegionId(IResolvable)
.secondarySiteType(java.lang.String)
.secondarySiteType(IResolvable)
.secondarySiteVpcId(java.lang.String)
.secondarySiteVpcId(IResolvable)
// .primarySiteZoneId(java.lang.String)
// .primarySiteZoneId(IResolvable)
// .secondarySiteZoneId(java.lang.String)
// .secondarySiteZoneId(IResolvable)
// .sitePairType(java.lang.String)
// .sitePairType(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
primarySiteName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property primarySiteName: The name of the primary site. |
primarySiteRegionId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property primarySiteRegionId: The region ID of the primary site. |
primarySiteType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property primarySiteType: The type of the primary site. |
primarySiteVpcId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property primarySiteVpcId: The VPC ID of the primary site. |
secondarySiteName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property secondarySiteName: The name of the secondary site. |
secondarySiteRegionId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property secondarySiteRegionId: The region ID of the secondary site. |
secondarySiteType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property secondarySiteType: The type of the secondary site. |
secondarySiteVpcId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property secondarySiteVpcId: The VPC ID of the secondary site. |
primarySiteZoneId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property primarySiteZoneId: The zone ID of the primary site. |
secondarySiteZoneId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property secondarySiteZoneId: The zone ID of the secondary site. |
sitePairType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property sitePairType: The type of the site pair. |
primarySiteNameRequired
public java.lang.Object getPrimarySiteName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property primarySiteName: The name of the primary site.
primarySiteRegionIdRequired
public java.lang.Object getPrimarySiteRegionId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property primarySiteRegionId: The region ID of the primary site.
primarySiteTypeRequired
public java.lang.Object getPrimarySiteType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property primarySiteType: The type of the primary site.
primarySiteVpcIdRequired
public java.lang.Object getPrimarySiteVpcId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property primarySiteVpcId: The VPC ID of the primary site.
secondarySiteNameRequired
public java.lang.Object getSecondarySiteName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property secondarySiteName: The name of the secondary site.
secondarySiteRegionIdRequired
public java.lang.Object getSecondarySiteRegionId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property secondarySiteRegionId: The region ID of the secondary site.
secondarySiteTypeRequired
public java.lang.Object getSecondarySiteType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property secondarySiteType: The type of the secondary site.
secondarySiteVpcIdRequired
public java.lang.Object getSecondarySiteVpcId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property secondarySiteVpcId: The VPC ID of the secondary site.
primarySiteZoneIdOptional
public java.lang.Object getPrimarySiteZoneId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property primarySiteZoneId: The zone ID of the primary site.
This parameter is valid only when the site pair type is cross-zone disaster recovery.
secondarySiteZoneIdOptional
public java.lang.Object getSecondarySiteZoneId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property secondarySiteZoneId: The zone ID of the secondary site.
This parameter is valid only when the site pair type is cross-zone disaster recovery.
sitePairTypeOptional
public java.lang.Object getSitePairType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property sitePairType: The type of the site pair.