congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
SpotPrice.getProductDescription
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: aws/aws-sdk-java

@Override
public int hashCode() {
  final int prime = 31;
  int hashCode = 1;
  hashCode = prime * hashCode + ((getAvailabilityZone() == null) ? 0 : getAvailabilityZone().hashCode());
  hashCode = prime * hashCode + ((getInstanceType() == null) ? 0 : getInstanceType().hashCode());
  hashCode = prime * hashCode + ((getProductDescription() == null) ? 0 : getProductDescription().hashCode());
  hashCode = prime * hashCode + ((getSpotPrice() == null) ? 0 : getSpotPrice().hashCode());
  hashCode = prime * hashCode + ((getTimestamp() == null) ? 0 : getTimestamp().hashCode());
  return hashCode;
}
origin: aws/aws-sdk-java

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 *
 * @return A string representation of this object.
 *
 * @see java.lang.Object#toString()
 */
@Override
public String toString() {
  StringBuilder sb = new StringBuilder();
  sb.append("{");
  if (getAvailabilityZone() != null)
    sb.append("AvailabilityZone: ").append(getAvailabilityZone()).append(",");
  if (getInstanceType() != null)
    sb.append("InstanceType: ").append(getInstanceType()).append(",");
  if (getProductDescription() != null)
    sb.append("ProductDescription: ").append(getProductDescription()).append(",");
  if (getSpotPrice() != null)
    sb.append("SpotPrice: ").append(getSpotPrice()).append(",");
  if (getTimestamp() != null)
    sb.append("Timestamp: ").append(getTimestamp());
  sb.append("}");
  return sb.toString();
}
origin: aws/aws-sdk-java

if (other.getInstanceType() != null && other.getInstanceType().equals(this.getInstanceType()) == false)
  return false;
if (other.getProductDescription() == null ^ this.getProductDescription() == null)
  return false;
if (other.getProductDescription() != null && other.getProductDescription().equals(this.getProductDescription()) == false)
  return false;
if (other.getSpotPrice() == null ^ this.getSpotPrice() == null)
origin: aws-amplify/aws-sdk-android

@Override
public int hashCode() {
  final int prime = 31;
  int hashCode = 1;
  
  hashCode = prime * hashCode + ((getInstanceType() == null) ? 0 : getInstanceType().hashCode()); 
  hashCode = prime * hashCode + ((getProductDescription() == null) ? 0 : getProductDescription().hashCode()); 
  hashCode = prime * hashCode + ((getSpotPrice() == null) ? 0 : getSpotPrice().hashCode()); 
  hashCode = prime * hashCode + ((getTimestamp() == null) ? 0 : getTimestamp().hashCode()); 
  hashCode = prime * hashCode + ((getAvailabilityZone() == null) ? 0 : getAvailabilityZone().hashCode()); 
  return hashCode;
}

origin: aws-amplify/aws-sdk-android

/**
 * Returns a string representation of this object; useful for testing and
 * debugging.
 *
 * @return A string representation of this object.
 *
 * @see java.lang.Object#toString()
 */
@Override
public String toString() {
  StringBuilder sb = new StringBuilder();
  sb.append("{");
  if (getInstanceType() != null) sb.append("InstanceType: " + getInstanceType() + ",");
  if (getProductDescription() != null) sb.append("ProductDescription: " + getProductDescription() + ",");
  if (getSpotPrice() != null) sb.append("SpotPrice: " + getSpotPrice() + ",");
  if (getTimestamp() != null) sb.append("Timestamp: " + getTimestamp() + ",");
  if (getAvailabilityZone() != null) sb.append("AvailabilityZone: " + getAvailabilityZone() );
  sb.append("}");
  return sb.toString();
}

origin: aws-amplify/aws-sdk-android

@Override
public boolean equals(Object obj) {
  if (this == obj) return true;
  if (obj == null) return false;
  if (obj instanceof SpotPrice == false) return false;
  SpotPrice other = (SpotPrice)obj;
  
  if (other.getInstanceType() == null ^ this.getInstanceType() == null) return false;
  if (other.getInstanceType() != null && other.getInstanceType().equals(this.getInstanceType()) == false) return false; 
  if (other.getProductDescription() == null ^ this.getProductDescription() == null) return false;
  if (other.getProductDescription() != null && other.getProductDescription().equals(this.getProductDescription()) == false) return false; 
  if (other.getSpotPrice() == null ^ this.getSpotPrice() == null) return false;
  if (other.getSpotPrice() != null && other.getSpotPrice().equals(this.getSpotPrice()) == false) return false; 
  if (other.getTimestamp() == null ^ this.getTimestamp() == null) return false;
  if (other.getTimestamp() != null && other.getTimestamp().equals(this.getTimestamp()) == false) return false; 
  if (other.getAvailabilityZone() == null ^ this.getAvailabilityZone() == null) return false;
  if (other.getAvailabilityZone() != null && other.getAvailabilityZone().equals(this.getAvailabilityZone()) == false) return false; 
  return true;
}

origin: com.amazonaws/aws-java-sdk-ec2

@Override
public int hashCode() {
  final int prime = 31;
  int hashCode = 1;
  hashCode = prime * hashCode + ((getAvailabilityZone() == null) ? 0 : getAvailabilityZone().hashCode());
  hashCode = prime * hashCode + ((getInstanceType() == null) ? 0 : getInstanceType().hashCode());
  hashCode = prime * hashCode + ((getProductDescription() == null) ? 0 : getProductDescription().hashCode());
  hashCode = prime * hashCode + ((getSpotPrice() == null) ? 0 : getSpotPrice().hashCode());
  hashCode = prime * hashCode + ((getTimestamp() == null) ? 0 : getTimestamp().hashCode());
  return hashCode;
}
origin: com.amazonaws/aws-java-sdk-ec2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 *
 * @return A string representation of this object.
 *
 * @see java.lang.Object#toString()
 */
@Override
public String toString() {
  StringBuilder sb = new StringBuilder();
  sb.append("{");
  if (getAvailabilityZone() != null)
    sb.append("AvailabilityZone: ").append(getAvailabilityZone()).append(",");
  if (getInstanceType() != null)
    sb.append("InstanceType: ").append(getInstanceType()).append(",");
  if (getProductDescription() != null)
    sb.append("ProductDescription: ").append(getProductDescription()).append(",");
  if (getSpotPrice() != null)
    sb.append("SpotPrice: ").append(getSpotPrice()).append(",");
  if (getTimestamp() != null)
    sb.append("Timestamp: ").append(getTimestamp());
  sb.append("}");
  return sb.toString();
}
origin: com.amazonaws/aws-java-sdk-ec2

if (other.getInstanceType() != null && other.getInstanceType().equals(this.getInstanceType()) == false)
  return false;
if (other.getProductDescription() == null ^ this.getProductDescription() == null)
  return false;
if (other.getProductDescription() != null && other.getProductDescription().equals(this.getProductDescription()) == false)
  return false;
if (other.getSpotPrice() == null ^ this.getSpotPrice() == null)
com.amazonaws.services.ec2.modelSpotPricegetProductDescription

Javadoc

A general description of the AMI.

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.
  • setInstanceType
    The instance type.
  • setSpotPrice
    The maximum price per hour that you are willing to pay for a Spot Instance.
  • getAvailabilityZone
    The Availability Zone.
  • 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

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • addToBackStack (FragmentTransaction)
  • putExtra (Intent)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Runner (org.openjdk.jmh.runner)
  • 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