Tabnine Logo
GetConsoleOutputRequest.getLatest
Code IndexAdd Tabnine to your IDE (free)

How to use
getLatest
method
in
com.amazonaws.services.ec2.model.GetConsoleOutputRequest

Best Java code snippets using com.amazonaws.services.ec2.model.GetConsoleOutputRequest.getLatest (Showing top 8 results out of 315)

origin: aws/aws-sdk-java

@Override
public int hashCode() {
  final int prime = 31;
  int hashCode = 1;
  hashCode = prime * hashCode + ((getInstanceId() == null) ? 0 : getInstanceId().hashCode());
  hashCode = prime * hashCode + ((getLatest() == null) ? 0 : getLatest().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 (getInstanceId() != null)
    sb.append("InstanceId: ").append(getInstanceId()).append(",");
  if (getLatest() != null)
    sb.append("Latest: ").append(getLatest());
  sb.append("}");
  return sb.toString();
}
origin: aws/aws-sdk-java

@Override
public boolean equals(Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (obj instanceof GetConsoleOutputRequest == false)
    return false;
  GetConsoleOutputRequest other = (GetConsoleOutputRequest) obj;
  if (other.getInstanceId() == null ^ this.getInstanceId() == null)
    return false;
  if (other.getInstanceId() != null && other.getInstanceId().equals(this.getInstanceId()) == false)
    return false;
  if (other.getLatest() == null ^ this.getLatest() == null)
    return false;
  if (other.getLatest() != null && other.getLatest().equals(this.getLatest()) == false)
    return false;
  return true;
}
origin: aws/aws-sdk-java

public Request<GetConsoleOutputRequest> marshall(GetConsoleOutputRequest getConsoleOutputRequest) {
  if (getConsoleOutputRequest == null) {
    throw new SdkClientException("Invalid argument passed to marshall(...)");
  }
  Request<GetConsoleOutputRequest> request = new DefaultRequest<GetConsoleOutputRequest>(getConsoleOutputRequest, "AmazonEC2");
  request.addParameter("Action", "GetConsoleOutput");
  request.addParameter("Version", "2016-11-15");
  request.setHttpMethod(HttpMethodName.POST);
  if (getConsoleOutputRequest.getInstanceId() != null) {
    request.addParameter("InstanceId", StringUtils.fromString(getConsoleOutputRequest.getInstanceId()));
  }
  if (getConsoleOutputRequest.getLatest() != null) {
    request.addParameter("Latest", StringUtils.fromBoolean(getConsoleOutputRequest.getLatest()));
  }
  return request;
}
origin: com.amazonaws/aws-java-sdk-ec2

@Override
public int hashCode() {
  final int prime = 31;
  int hashCode = 1;
  hashCode = prime * hashCode + ((getInstanceId() == null) ? 0 : getInstanceId().hashCode());
  hashCode = prime * hashCode + ((getLatest() == null) ? 0 : getLatest().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 (getInstanceId() != null)
    sb.append("InstanceId: ").append(getInstanceId()).append(",");
  if (getLatest() != null)
    sb.append("Latest: ").append(getLatest());
  sb.append("}");
  return sb.toString();
}
origin: com.amazonaws/aws-java-sdk-ec2

@Override
public boolean equals(Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (obj instanceof GetConsoleOutputRequest == false)
    return false;
  GetConsoleOutputRequest other = (GetConsoleOutputRequest) obj;
  if (other.getInstanceId() == null ^ this.getInstanceId() == null)
    return false;
  if (other.getInstanceId() != null && other.getInstanceId().equals(this.getInstanceId()) == false)
    return false;
  if (other.getLatest() == null ^ this.getLatest() == null)
    return false;
  if (other.getLatest() != null && other.getLatest().equals(this.getLatest()) == false)
    return false;
  return true;
}
origin: com.amazonaws/aws-java-sdk-ec2

public Request<GetConsoleOutputRequest> marshall(GetConsoleOutputRequest getConsoleOutputRequest) {
  if (getConsoleOutputRequest == null) {
    throw new SdkClientException("Invalid argument passed to marshall(...)");
  }
  Request<GetConsoleOutputRequest> request = new DefaultRequest<GetConsoleOutputRequest>(getConsoleOutputRequest, "AmazonEC2");
  request.addParameter("Action", "GetConsoleOutput");
  request.addParameter("Version", "2016-11-15");
  request.setHttpMethod(HttpMethodName.POST);
  if (getConsoleOutputRequest.getInstanceId() != null) {
    request.addParameter("InstanceId", StringUtils.fromString(getConsoleOutputRequest.getInstanceId()));
  }
  if (getConsoleOutputRequest.getLatest() != null) {
    request.addParameter("Latest", StringUtils.fromBoolean(getConsoleOutputRequest.getLatest()));
  }
  return request;
}
com.amazonaws.services.ec2.modelGetConsoleOutputRequestgetLatest

Javadoc

When enabled, retrieves the latest console output for the instance.

Default: disabled (false)

Popular methods of GetConsoleOutputRequest

  • <init>
    Constructs a new GetConsoleOutputRequest object. Callers should use the setter or fluent setter (wit
  • getInstanceId
    The ID of the instance.
  • setInstanceId
    The ID of the instance.
  • setLatest
    When enabled, retrieves the latest console output for the instance. Default: disabled (false)

Popular in Java

  • Reactive rest calls using spring rest template
  • notifyDataSetChanged (ArrayAdapter)
  • setScale (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • String (java.lang)
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top plugins for Android Studio
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