类 CreateNatRequest


  • public class CreateNatRequest
    extends AbstractBceRequest
    The request for creating a nat.
    • 构造器详细资料

      • CreateNatRequest

        public CreateNatRequest()
    • 方法详细资料

      • withName

        public CreateNatRequest withName​(String name)
        Configure name for the request.
        参数:
        name - The name of CreateNatRequest
        返回:
        CreateNatRequest with specific name
      • withVpcId

        public CreateNatRequest withVpcId​(String vpcId)
        Configure vpcId for the request.
        参数:
        vpcId - The vpcId of CreateNatRequest
        返回:
        CreateNatRequest with specific vpcId
      • withSpec

        public CreateNatRequest withSpec​(String spec)
        Configure spec for the request.
        参数:
        spec - The spec of CreateNatRequest
        返回:
        CreateNatRequest with specific spec
      • withEips

        public CreateNatRequest withEips​(List<String> eips)
        Configure eips for the request.
        参数:
        eips - The spec of CreateNatRequest
        返回:
        CreateNatRequest with specific eips
      • withBilling

        public CreateNatRequest withBilling​(Billing billing)
        Configure billing for the request.
        参数:
        billing - The spec of CreateNatRequest
        返回:
        CreateNatRequest with specific billing
      • getClientToken

        public String getClientToken()
      • setClientToken

        public void setClientToken​(String clientToken)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getVpcId

        public String getVpcId()
      • setVpcId

        public void setVpcId​(String vpcId)
      • getSpec

        public String getSpec()
      • setSpec

        public void setSpec​(String spec)
      • setEips

        public void setEips​(List<String> eips)
      • getBilling

        public Billing getBilling()
      • setBilling

        public void setBilling​(Billing billing)