/** * <p> * The instance type, such as <code>t2.micro</code>. For a list of supported instance types, open the stack in the * console, choose <b>Instances</b>, and choose <b>+ Instance</b>. The <b>Size</b> list contains the currently * supported types. For more information, see <a * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance Families and Types</a>. * The parameter values that you use to specify the various types are in the <b>API Name</b> column of the * <b>Available Instance Types</b> table. * </p> * * @param instanceType * The instance type, such as <code>t2.micro</code>. For a list of supported instance types, open the stack * in the console, choose <b>Instances</b>, and choose <b>+ Instance</b>. The <b>Size</b> list contains the * currently supported types. For more information, see <a * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance Families and * Types</a>. The parameter values that you use to specify the various types are in the <b>API Name</b> * column of the <b>Available Instance Types</b> table. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateInstanceRequest withInstanceType(String instanceType) { setInstanceType(instanceType); return this; }
/** * <p> * The instance type, such as <code>t2.micro</code>. For a list of supported instance types, open the stack in the * console, choose <b>Instances</b>, and choose <b>+ Instance</b>. The <b>Size</b> list contains the currently * supported types. For more information, see <a * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance Families and Types</a>. * The parameter values that you use to specify the various types are in the <b>API Name</b> column of the * <b>Available Instance Types</b> table. * </p> * * @param instanceType * The instance type, such as <code>t2.micro</code>. For a list of supported instance types, open the stack * in the console, choose <b>Instances</b>, and choose <b>+ Instance</b>. The <b>Size</b> list contains the * currently supported types. For more information, see <a * href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance Families and * Types</a>. The parameter values that you use to specify the various types are in the <b>API Name</b> * column of the <b>Available Instance Types</b> table. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateInstanceRequest withInstanceType(String instanceType) { setInstanceType(instanceType); return this; }