Skip to content

NatGatewaysProps

Properties for defining a NatGateways.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-natgateways

Initializer

import com.aliyun.ros.cdk.vpc.datasource.NatGatewaysProps;
NatGatewaysProps.builder()
//  .instanceChargeType(java.lang.String)
//  .instanceChargeType(IResolvable)
//  .name(java.lang.String)
//  .name(IResolvable)
//  .natGatewayId(java.lang.String)
//  .natGatewayId(IResolvable)
//  .natType(java.lang.String)
//  .natType(IResolvable)
//  .networkType(java.lang.String)
//  .networkType(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .status(java.lang.String)
//  .status(IResolvable)
//  .vpcId(java.lang.String)
//  .vpcId(IResolvable)
//  .zoneId(java.lang.String)
//  .zoneId(IResolvable)
    .build();

Properties

Name Type Description
instanceChargeType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceChargeType: The billing method of the NAT gateway.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: The name of the NAT gateway.
natGatewayId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property natGatewayId: The ID of the NAT gateway.
natType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property natType: The type of NAT gateway.
networkType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property networkType: The type of the NAT gateway.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group to which the NAT gateway belongs.
status java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property status: The status of the NAT gateway.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The ID of the VPC to which the NAT gateway belongs.
zoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property zoneId: The ID of the zone to which the NAT gateway belongs.

instanceChargeTypeOptional

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

Property instanceChargeType: The billing method of the NAT gateway.

Set the value to PostPaid, which specifies the pay-as-you-go billing method.


nameOptional

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

Property name: The name of the NAT gateway.


natGatewayIdOptional

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

Property natGatewayId: The ID of the NAT gateway.


natTypeOptional

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

Property natType: The type of NAT gateway.

Set the value to Enhanced (enhanced NAT gateway).


networkTypeOptional

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

Property networkType: The type of the NAT gateway.

Valid values: internet: an Internet NAT gateway intranet: a VPC NAT gateway


refreshOptionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

resourceGroupIdOptional

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

Property resourceGroupId: The ID of the resource group to which the NAT gateway belongs.


statusOptional

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

Property status: The status of the NAT gateway.

Valid values: Creating: After you send a request to create a NAT gateway, the system creates the NAT gateway in the background. The NAT gateway remains in the Creating state until the operation is completed. Available: The NAT gateway remains in a stable state after the NAT gateway is created. Modifying: After you send a request to modify a NAT gateway, the system modifies the NAT gateway in the background. The NAT gateway remains in the Modifying state until the operation is completed. Deleting: After you send a request to delete a NAT gateway, the system deletes the NAT gateway in the background. The NAT gateway remains in the Deleting state until the operation is completed. Converting: After you send a request to upgrade a standard NAT gateway to an enhanced NAT gateway, the system upgrades the NAT gateway in the background. The NAT gateway remains in the Converting state until the operation is completed.


vpcIdOptional

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

Property vpcId: The ID of the VPC to which the NAT gateway belongs.


zoneIdOptional

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

Property zoneId: The ID of the zone to which the NAT gateway belongs.