Package com.pulumi.alicloud.ecs.inputs
Class EipSegmentAddressState.Builder
- java.lang.Object
-
- com.pulumi.alicloud.ecs.inputs.EipSegmentAddressState.Builder
-
- Enclosing class:
- EipSegmentAddressState
public static final class EipSegmentAddressState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(EipSegmentAddressState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EipSegmentAddressState.Builder
bandwidth(com.pulumi.core.Output<java.lang.String> bandwidth)
EipSegmentAddressState.Builder
bandwidth(java.lang.String bandwidth)
EipSegmentAddressState
build()
EipSegmentAddressState.Builder
createTime(com.pulumi.core.Output<java.lang.String> createTime)
EipSegmentAddressState.Builder
createTime(java.lang.String createTime)
EipSegmentAddressState.Builder
eipMask(com.pulumi.core.Output<java.lang.String> eipMask)
EipSegmentAddressState.Builder
eipMask(java.lang.String eipMask)
EipSegmentAddressState.Builder
internetChargeType(com.pulumi.core.Output<java.lang.String> internetChargeType)
EipSegmentAddressState.Builder
internetChargeType(java.lang.String internetChargeType)
EipSegmentAddressState.Builder
isp(com.pulumi.core.Output<java.lang.String> isp)
EipSegmentAddressState.Builder
isp(java.lang.String isp)
EipSegmentAddressState.Builder
netmode(com.pulumi.core.Output<java.lang.String> netmode)
EipSegmentAddressState.Builder
netmode(java.lang.String netmode)
EipSegmentAddressState.Builder
status(com.pulumi.core.Output<java.lang.String> status)
EipSegmentAddressState.Builder
status(java.lang.String status)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EipSegmentAddressState defaults)
-
-
Method Detail
-
bandwidth
public EipSegmentAddressState.Builder bandwidth(@Nullable com.pulumi.core.Output<java.lang.String> bandwidth)
- Parameters:
bandwidth
- The peak bandwidth of the EIP. Unit: Mbps. When the value of instancargetype is PostPaid and the value of InternetChargeType is PayByBandwidth, the range of Bandwidth is 1 to 500. If the value of instancargetype is PostPaid and the value of InternetChargeType is PayByTraffic, the range of Bandwidth is 1 to 200. When instancargetype is set to PrePaid, the range of Bandwidth is 1 to 1000. The default value is 5 Mbps.- Returns:
- builder
-
bandwidth
public EipSegmentAddressState.Builder bandwidth(java.lang.String bandwidth)
- Parameters:
bandwidth
- The peak bandwidth of the EIP. Unit: Mbps. When the value of instancargetype is PostPaid and the value of InternetChargeType is PayByBandwidth, the range of Bandwidth is 1 to 500. If the value of instancargetype is PostPaid and the value of InternetChargeType is PayByTraffic, the range of Bandwidth is 1 to 200. When instancargetype is set to PrePaid, the range of Bandwidth is 1 to 1000. The default value is 5 Mbps.- Returns:
- builder
-
createTime
public EipSegmentAddressState.Builder createTime(@Nullable com.pulumi.core.Output<java.lang.String> createTime)
- Parameters:
createTime
- The time when the contiguous Elastic IP address group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.- Returns:
- builder
-
createTime
public EipSegmentAddressState.Builder createTime(java.lang.String createTime)
- Parameters:
createTime
- The time when the contiguous Elastic IP address group was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.- Returns:
- builder
-
eipMask
public EipSegmentAddressState.Builder eipMask(@Nullable com.pulumi.core.Output<java.lang.String> eipMask)
- Parameters:
eipMask
- Mask of consecutive EIPs. Value:28: For a single call, the system will allocate 16 consecutive EIPs.27: For a single call, the system will allocate 32 consecutive EIPs.26: For a single call, the system will allocate 64 consecutive EIPs.25: For a single call, the system will allocate 128 consecutive EIPs.24: For a single call, the system will allocate 256 consecutive EIPs.- Returns:
- builder
-
eipMask
public EipSegmentAddressState.Builder eipMask(java.lang.String eipMask)
- Parameters:
eipMask
- Mask of consecutive EIPs. Value:28: For a single call, the system will allocate 16 consecutive EIPs.27: For a single call, the system will allocate 32 consecutive EIPs.26: For a single call, the system will allocate 64 consecutive EIPs.25: For a single call, the system will allocate 128 consecutive EIPs.24: For a single call, the system will allocate 256 consecutive EIPs.- Returns:
- builder
-
internetChargeType
public EipSegmentAddressState.Builder internetChargeType(@Nullable com.pulumi.core.Output<java.lang.String> internetChargeType)
- Parameters:
internetChargeType
- Continuous EIP billing method, valid values: - **PayByBandwidth** (default): Billing based on fixed bandwidth. - **PayByTraffic**: Billing by usage flow.- Returns:
- builder
-
internetChargeType
public EipSegmentAddressState.Builder internetChargeType(java.lang.String internetChargeType)
- Parameters:
internetChargeType
- Continuous EIP billing method, valid values: - **PayByBandwidth** (default): Billing based on fixed bandwidth. - **PayByTraffic**: Billing by usage flow.- Returns:
- builder
-
isp
public EipSegmentAddressState.Builder isp(@Nullable com.pulumi.core.Output<java.lang.String> isp)
- Parameters:
isp
- Line type. Valid values: - **BGP** (default):BGP (multi-line) line. BGP (multi-line) EIP is supported in all regions. - **BGP_PRO** :BGP (multi-line)_boutique line. Currently, only Hong Kong, Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), the Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions support BGP (multi-line)_boutique route EIP. For more information about BGP (multi-line) lines and BGP (multi-line) premium lines, see EIP line types. If you are a whitelist user with single-line bandwidth, you can also select the following types: - **ChinaTelecom** : China Telecom - **ChinaUnicom** : China Unicom - **ChinaMobile** : China Mobile - **ChinaTelecom_L2** : China Telecom L2 - **ChinaUnicom_L2** : China Unicom L2 - **ChinaMobile_L2** : China Mobile L2 If you are a user of Hangzhou Financial Cloud, this field is required. The value is `BGP_FinanceCloud`.- Returns:
- builder
-
isp
public EipSegmentAddressState.Builder isp(java.lang.String isp)
- Parameters:
isp
- Line type. Valid values: - **BGP** (default):BGP (multi-line) line. BGP (multi-line) EIP is supported in all regions. - **BGP_PRO** :BGP (multi-line)_boutique line. Currently, only Hong Kong, Singapore, Japan (Tokyo), Malaysia (Kuala Lumpur), the Philippines (Manila), Indonesia (Jakarta), and Thailand (Bangkok) regions support BGP (multi-line)_boutique route EIP. For more information about BGP (multi-line) lines and BGP (multi-line) premium lines, see EIP line types. If you are a whitelist user with single-line bandwidth, you can also select the following types: - **ChinaTelecom** : China Telecom - **ChinaUnicom** : China Unicom - **ChinaMobile** : China Mobile - **ChinaTelecom_L2** : China Telecom L2 - **ChinaUnicom_L2** : China Unicom L2 - **ChinaMobile_L2** : China Mobile L2 If you are a user of Hangzhou Financial Cloud, this field is required. The value is `BGP_FinanceCloud`.- Returns:
- builder
-
netmode
public EipSegmentAddressState.Builder netmode(@Nullable com.pulumi.core.Output<java.lang.String> netmode)
- Parameters:
netmode
- The network type. Set the value to **public**.- Returns:
- builder
-
netmode
public EipSegmentAddressState.Builder netmode(java.lang.String netmode)
- Parameters:
netmode
- The network type. Set the value to **public**.- Returns:
- builder
-
status
public EipSegmentAddressState.Builder status(@Nullable com.pulumi.core.Output<java.lang.String> status)
- Parameters:
status
- The status of the resource.- Returns:
- builder
-
status
public EipSegmentAddressState.Builder status(java.lang.String status)
- Parameters:
status
- The status of the resource.- Returns:
- builder
-
build
public EipSegmentAddressState build()
-
-