Tabnine Logo
SpotPrice.setInstanceType
Code IndexAdd Tabnine to your IDE (free)

How to use
setInstanceType
method
in
com.amazonaws.services.ec2.model.SpotPrice

Best Java code snippets using com.amazonaws.services.ec2.model.SpotPrice.setInstanceType (Showing top 6 results out of 315)

origin: aws/aws-sdk-java

/**
 * <p>
 * The instance type.
 * </p>
 * 
 * @param instanceType
 *        The instance type.
 * @return Returns a reference to this object so that method calls can be chained together.
 * @see InstanceType
 */
public SpotPrice withInstanceType(String instanceType) {
  setInstanceType(instanceType);
  return this;
}
origin: aws/aws-sdk-java

spotPrice.setInstanceType(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;
origin: com.amazonaws/aws-java-sdk-ec2

/**
 * <p>
 * The instance type.
 * </p>
 * 
 * @param instanceType
 *        The instance type.
 * @return Returns a reference to this object so that method calls can be chained together.
 * @see InstanceType
 */
public SpotPrice withInstanceType(String instanceType) {
  setInstanceType(instanceType);
  return this;
}
origin: aws-amplify/aws-sdk-android

spotPrice.setInstanceType(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;
origin: FINRAOS/herd

/**
 * Converts this object into an AWS equivalent object.
 *
 * @return A new equivalent AWS object
 */
public SpotPrice toAwsObject()
{
  SpotPrice spotPrice = new SpotPrice();
  spotPrice.setAvailabilityZone(availabilityZone);
  spotPrice.setInstanceType(type);
  spotPrice.setSpotPrice(this.spotPrice);
  return spotPrice;
}
origin: com.amazonaws/aws-java-sdk-ec2

spotPrice.setInstanceType(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;
com.amazonaws.services.ec2.modelSpotPricesetInstanceType

Javadoc

The instance type.

Popular methods of SpotPrice

  • getSpotPrice
    The maximum price per hour that you are willing to pay for a Spot Instance.
  • <init>
  • getInstanceType
    The instance type.
  • setAvailabilityZone
    The Availability Zone.
  • setSpotPrice
    The maximum price per hour that you are willing to pay for a Spot Instance.
  • getAvailabilityZone
    The Availability Zone.
  • getProductDescription
    A general description of the AMI.
  • getTimestamp
    The date and time the request was created, in UTC format (for example,YYYY-MM- DDTHH:MM:SSZ).
  • setProductDescription
    A general description of the AMI.
  • setTimestamp
    The date and time the request was created, in UTC format (for example,YYYY-MM- DDTHH:MM:SSZ).
  • withInstanceType
    The instance type.
  • withProductDescription
    A general description of the AMI.
  • withInstanceType,
  • withProductDescription

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getExternalFilesDir (Context)
  • findViewById (Activity)
  • onRequestPermissionsResult (Fragment)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JTextField (javax.swing)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now