public static final class CreateScalingConfigurationRequest.NetworkInterfaces.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
CreateScalingConfigurationRequest.NetworkInterfaces |
build() |
CreateScalingConfigurationRequest.NetworkInterfaces.Builder |
instanceType(String instanceType)
Instance type N that you want to use to override the instance type that is specified in the launch template.
|
CreateScalingConfigurationRequest.NetworkInterfaces.Builder |
ipv6AddressCount(Integer ipv6AddressCount)
The number of randomly generated IPv6 addresses that you want to allocate to the elastic network interface (ENI).
|
CreateScalingConfigurationRequest.NetworkInterfaces.Builder |
networkInterfaceTrafficMode(String networkInterfaceTrafficMode)
NetworkInterfaceTrafficMode.
|
CreateScalingConfigurationRequest.NetworkInterfaces.Builder |
securityGroupIds(List<String> securityGroupIds)
The IDs of the security groups with which you want to associate the ECS instances that are created by using the scaling configuration.
|
public CreateScalingConfigurationRequest.NetworkInterfaces.Builder instanceType(String instanceType)
If you want to trigger scale-outs based on the weighted capacities of instances, specify InstanceType and WeightedCapacity at the same time. You can specify N instance types by using the Extended Configurations feature. Valid values of N: 1 to 10. > This parameter takes effect only if you specify LaunchTemplateId. You can specify an instance type that is available for purchase as the value of InstanceType.
public CreateScalingConfigurationRequest.NetworkInterfaces.Builder ipv6AddressCount(Integer ipv6AddressCount)
public CreateScalingConfigurationRequest.NetworkInterfaces.Builder networkInterfaceTrafficMode(String networkInterfaceTrafficMode)
public CreateScalingConfigurationRequest.NetworkInterfaces.Builder securityGroupIds(List<String> securityGroupIds)
> If you specify SecurityGroupId, you cannot specify SecurityGroupIds.
public CreateScalingConfigurationRequest.NetworkInterfaces build()
Copyright © 2024. All rights reserved.