Skip to content

InstanceProps

Properties for defining a Instance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rocketmq5-instance

Initializer

import com.aliyun.ros.cdk.rocketmq5.InstanceProps;
InstanceProps.builder()
    .internetInfo(IResolvable)
    .internetInfo(InternetInfoProperty)
    .productInfo(IResolvable)
    .productInfo(ProductInfoProperty)
    .seriesCode(java.lang.String)
    .seriesCode(IResolvable)
    .subSeriesCode(java.lang.String)
    .subSeriesCode(IResolvable)
    .vpcInfo(IResolvable)
    .vpcInfo(VpcInfoProperty)
//  .autoRenew(java.lang.Boolean)
//  .autoRenew(IResolvable)
//  .autoRenewPeriod(java.lang.Number)
//  .autoRenewPeriod(IResolvable)
//  .instanceName(java.lang.String)
//  .instanceName(IResolvable)
//  .paymentType(java.lang.String)
//  .paymentType(IResolvable)
//  .period(java.lang.Number)
//  .period(IResolvable)
//  .periodUnit(java.lang.String)
//  .periodUnit(IResolvable)
//  .remark(java.lang.String)
//  .remark(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
    .build();

Properties

Name Type Description
internetInfo com.aliyun.ros.cdk.core.IResolvable OR InternetInfoProperty Property internetInfo: Public network configuration information.
productInfo com.aliyun.ros.cdk.core.IResolvable OR ProductInfoProperty Property productInfo: Instance specification information.
seriesCode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property seriesCode: The primary series code of the instance.
subSeriesCode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property subSeriesCode: The sub series code of the instance.
vpcInfo com.aliyun.ros.cdk.core.IResolvable OR VpcInfoProperty Property vpcInfo: Private network configuration information.
autoRenew java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property autoRenew: Whether to auto-renew.
autoRenewPeriod java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property autoRenewPeriod: Automatic renewal period.
instanceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceName: The name of the instance to be created.
paymentType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property paymentType: The sub series code of the instance.
period java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property period: The subscription duration.
periodUnit java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property periodUnit: The period unit for the duration of the instance.
remark java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property remark: The remark of instance.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: Resource group ID.

internetInfoRequired

public java.lang.Object getInternetInfo();

Property internetInfo: Public network configuration information.


productInfoRequired

public java.lang.Object getProductInfo();

Property productInfo: Instance specification information.


seriesCodeRequired

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

Property seriesCode: The primary series code of the instance.


subSeriesCodeRequired

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

Property subSeriesCode: The sub series code of the instance.


vpcInfoRequired

public java.lang.Object getVpcInfo();

Property vpcInfo: Private network configuration information.


autoRenewOptional

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

Property autoRenew: Whether to auto-renew.

This parameter takes effect only when the PaymentType=Subscription.


autoRenewPeriodOptional

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

Property autoRenewPeriod: Automatic renewal period.

This parameter is valid only when automatic renewal is enabled. Unit: Month.


instanceNameOptional

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

Property instanceName: The name of the instance to be created.


paymentTypeOptional

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

Property paymentType: The sub series code of the instance.


periodOptional

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

Property period: The subscription duration.

Valid values: When Period is Month, it could be from 1 to 6, 12, 24, 36. When Period is Year, it could be from 1 to 3.


periodUnitOptional

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

Property periodUnit: The period unit for the duration of the instance.


remarkOptional

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

Property remark: The remark of instance.


resourceGroupIdOptional

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

Property resourceGroupId: Resource group ID.