类 ModifyVpcAttributesRequest


  • public class ModifyVpcAttributesRequest
    extends AbstractBceRequest
    The request for modify vpc
    • 构造器详细资料

      • ModifyVpcAttributesRequest

        public ModifyVpcAttributesRequest()
    • 方法详细资料

      • getVpcId

        public String getVpcId()
      • setVpcId

        public void setVpcId​(String vpcId)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getClientToken

        public String getClientToken()
      • setClientToken

        public void setClientToken​(String clientToken)
      • getEnableIpv6

        public Boolean getEnableIpv6()
      • setEnableIpv6

        public void setEnableIpv6​(Boolean enableIpv6)
      • withClientToken

        public ModifyVpcAttributesRequest withClientToken​(String clientToken)
        Configure optional client token for the request. The request will be idempotent if client token is provided. If the clientToken is not specified by the user, a random String generated by default algorithm will be used.
        参数:
        clientToken - An ASCII string whose length is less than 64. See more detail at BCE API doc
        返回:
        ModifySubnetAttributesRequest with specific clientToken
      • withVpcId

        public ModifyVpcAttributesRequest withVpcId​(String vpcId)
        Configure vpc id for the request.
        参数:
        vpcId - the id of vpc
        返回:
        ModifyVpcAttributesRequest with vpcId
      • withName

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

        public ModifyVpcAttributesRequest withDescription​(String description)
        Configure description for the request.
        参数:
        description - the type of vpc
        返回:
        ModifyVpcAttributesRequest with description