Skip to content

DbInstanceProps

Properties for defining a DbInstance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-graphdatabase-dbinstance

Initializer

import com.aliyun.ros.cdk.graphdatabase.DbInstanceProps;
DbInstanceProps.builder()
    .dbInstanceCategory(java.lang.String)
    .dbInstanceCategory(IResolvable)
    .dbInstanceNetworkType(java.lang.String)
    .dbInstanceNetworkType(IResolvable)
    .dbInstanceStorageType(java.lang.String)
    .dbInstanceStorageType(IResolvable)
    .dbNodeClass(java.lang.String)
    .dbNodeClass(IResolvable)
    .dbNodeStorage(java.lang.Number)
    .dbNodeStorage(IResolvable)
    .dbVersion(java.lang.String)
    .dbVersion(IResolvable)
//  .backupSetId(java.lang.String)
//  .backupSetId(IResolvable)
//  .createType(java.lang.String)
//  .createType(IResolvable)
//  .dbInstanceDescription(java.lang.String)
//  .dbInstanceDescription(IResolvable)
//  .dbInstanceIpArray(IResolvable)
//  .dbInstanceIpArray(java.util.List<IResolvable)
//  .dbInstanceIpArray(DBInstanceIPArrayProperty>)
//  .ecsSecurityGroupRelations(IResolvable)
//  .ecsSecurityGroupRelations(java.util.List<IResolvable)
//  .ecsSecurityGroupRelations(EcsSecurityGroupRelationsProperty>)
//  .maintainTime(java.lang.String)
//  .maintainTime(IResolvable)
//  .paymentType(java.lang.String)
//  .paymentType(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .restoreType(java.lang.String)
//  .restoreType(IResolvable)
//  .sourceDbInstanceId(java.lang.String)
//  .sourceDbInstanceId(IResolvable)
//  .tags(java.util.List<TagsProperty>)
//  .vpcId(java.lang.String)
//  .vpcId(IResolvable)
//  .vSwitchId(java.lang.String)
//  .vSwitchId(IResolvable)
//  .zoneId(java.lang.String)
//  .zoneId(IResolvable)
    .build();

Properties

Name Type Description
dbInstanceCategory java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbInstanceCategory: The category of the db instance.
dbInstanceNetworkType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbInstanceNetworkType: The network type of the db instance.
dbInstanceStorageType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbInstanceStorageType: Instance storage type, Valid values: - cloud_essd.
dbNodeClass java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbNodeClass: The class of the db node.
dbNodeStorage java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property dbNodeStorage: Instance storage space, which is measured in GB.
dbVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbVersion: Kernel version 1.0 is represented as gremlin,1.0-OpenCypher said opencypher.
backupSetId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property backupSetId: Backup set id.
createType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property createType: The creation method.
dbInstanceDescription java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dbInstanceDescription: According to the practical example or notes.
dbInstanceIpArray com.aliyun.ros.cdk.core.IResolvable OR java.util.ListDBInstanceIPArrayProperty> Property dbInstanceIpArray: IP address whitelist for the instance group list.
ecsSecurityGroupRelations com.aliyun.ros.cdk.core.IResolvable OR java.util.ListEcsSecurityGroupRelationsProperty> Property ecsSecurityGroupRelations: Security group information array.
maintainTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property maintainTime: Instance maintenance time such as 00:00Z-02:00Z, 0 to 2 points to carry out routine maintenance.
paymentType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property paymentType: The resource attribute field representing the paid type is desirable: - PayAsYouGo: Postpaid.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: Resource group id.
restoreType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property restoreType: Restore type.
sourceDbInstanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property sourceDbInstanceId: Source Instance Id.
tags java.util.List<TagsProperty> Property tags: Tags of db instance.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The vpc id of the db instance.
vSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vSwitchId: The vpc switch id of the resource.
zoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property zoneId: ZoneId.

dbInstanceCategoryRequired

public java.lang.Object getDbInstanceCategory();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dbInstanceCategory: The category of the db instance.


dbInstanceNetworkTypeRequired

public java.lang.Object getDbInstanceNetworkType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dbInstanceNetworkType: The network type of the db instance.


dbInstanceStorageTypeRequired

public java.lang.Object getDbInstanceStorageType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dbInstanceStorageType: Instance storage type, Valid values: - cloud_essd.


dbNodeClassRequired

public java.lang.Object getDbNodeClass();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dbNodeClass: The class of the db node.

Valid values: gdb.r.xlarge, gdb.r.2xlarge, gdb.r.4xlarge, gdb.r.8xlarge,gdb.r.16xlarge, gdb.re.13xlarge, gdb.re.26xlarge, gdb.re.52xlarge


dbNodeStorageRequired

public java.lang.Object getDbNodeStorage();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property dbNodeStorage: Instance storage space, which is measured in GB.

The minimum storage space is 20 GB and the step size is 10GB.


dbVersionRequired

public java.lang.Object getDbVersion();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dbVersion: Kernel version 1.0 is represented as gremlin,1.0-OpenCypher said opencypher.


backupSetIdOptional

public java.lang.Object getBackupSetId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property backupSetId: Backup set id.


createTypeOptional

public java.lang.Object getCreateType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property createType: The creation method.

Valid values:

  • CreateDBInstance: Create instance
  • CloneDBInstance: Clone instance
  • CreateReadDBInstance: Create a read-only instance

dbInstanceDescriptionOptional

public java.lang.Object getDbInstanceDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property dbInstanceDescription: According to the practical example or notes.


dbInstanceIpArrayOptional

public java.lang.Object getDbInstanceIpArray();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListDBInstanceIPArrayProperty>

Property dbInstanceIpArray: IP address whitelist for the instance group list.


ecsSecurityGroupRelationsOptional

public java.lang.Object getEcsSecurityGroupRelations();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListEcsSecurityGroupRelationsProperty>

Property ecsSecurityGroupRelations: Security group information array.


maintainTimeOptional

public java.lang.Object getMaintainTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property maintainTime: Instance maintenance time such as 00:00Z-02:00Z, 0 to 2 points to carry out routine maintenance.


paymentTypeOptional

public java.lang.Object getPaymentType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property paymentType: The resource attribute field representing the paid type is desirable: - PayAsYouGo: Postpaid.


resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: Resource group id.


restoreTypeOptional

public java.lang.Object getRestoreType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property restoreType: Restore type.


sourceDbInstanceIdOptional

public java.lang.Object getSourceDbInstanceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property sourceDbInstanceId: Source Instance Id.


tagsOptional

public java.util.List<TagsProperty> getTags();

Property tags: Tags of db instance.


vpcIdOptional

public java.lang.Object getVpcId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vpcId: The vpc id of the db instance.


vSwitchIdOptional

public java.lang.Object getVSwitchId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vSwitchId: The vpc switch id of the resource.


zoneIdOptional

public java.lang.Object getZoneId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property zoneId: ZoneId.