Skip to content

NetworkProps

Properties for defining a Network.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ens-network

Initializer

import com.aliyun.ros.cdk.ens.NetworkProps;
NetworkProps.builder()
    .cidrBlock(java.lang.String)
    .cidrBlock(IResolvable)
    .ensRegionId(java.lang.String)
    .ensRegionId(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .networkName(java.lang.String)
//  .networkName(IResolvable)
    .build();

Properties

Name Type Description
cidrBlock java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property cidrBlock: The CIDR block of the network.
ensRegionId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ensRegionId: The ID of the edge node.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the network.
networkName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property networkName: The name of the network.

cidrBlockRequired

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

Property cidrBlock: The CIDR block of the network.

You can use one of the following CIDR blocks or their subnets as the CIDR block of the network: 10.0.0.0/8 (default) 172.16.0.0/12 192.168.0.0/16


ensRegionIdRequired

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

Property ensRegionId: The ID of the edge node.


descriptionOptional

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

Property description: The description of the network.

The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.


networkNameOptional

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

Property networkName: The name of the network.

The name must meet the following requirements: The name must be 2 to 128 characters in length. The name must start with a letter but cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).