类 CreateInstanceRequest


  • public class CreateInstanceRequest
    extends AbstractBceRequest
    Represents the input of a CreateInstance operation.
    • 构造器详细资料

      • CreateInstanceRequest

        public CreateInstanceRequest()
        Constructs a new CreateInstanceRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
    • 方法详细资料

      • setInstanceName

        public void setInstanceName​(String name)
        Set the name of instance when creating an instance.
        参数:
        name - The name of instance when creating an instance.
      • withInstanceName

        public CreateInstanceRequest withInstanceName​(String name)
        Set the name of instance when creating an instance.
        参数:
        name - The name of instance when creating an instance.
        返回:
        A reference to this object so that method calls can be chained together.
      • getInstanceName

        public String getInstanceName()
        Get the name of instance when creating an instance.
        返回:
        The name of instance when creating an instance.
      • setDescription

        public void setDescription​(String description)
        Set the description information for the instance when creating an instance.
        参数:
        description - The description information for the instance when creating an instance.
      • withDescription

        public CreateInstanceRequest withDescription​(String description)
        Set the description information for the instance when creating an instance.
        参数:
        description - The description information for the instance when creating an instance.
        返回:
        A reference to this object so that method calls can be chained together.
      • getDescription

        public String getDescription()
        Get the description information for the instance when creating an instance.
        返回:
        The description information for the instance when creating an instance.
      • toString

        public String toString()
        Return a string representation of request information.
        覆盖:
        toString 在类中 Object
        返回:
        A string representation of request information.