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

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

Best Java code snippets using com.amazonaws.services.ec2.model.GetConsoleOutputRequest.getInstanceId (Showing top 12 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: aws-amplify/aws-sdk-android

@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; 
  return true;
}

origin: aws-amplify/aws-sdk-android

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

origin: aws-amplify/aws-sdk-android

  public Request<GetConsoleOutputRequest> marshall(GetConsoleOutputRequest getConsoleOutputRequest) {

    if (getConsoleOutputRequest == null) {
      throw new AmazonClientException("Invalid argument passed to marshall(...)");
    }

    Request<GetConsoleOutputRequest> request = new DefaultRequest<GetConsoleOutputRequest>(getConsoleOutputRequest, "AmazonEC2");
    request.addParameter("Action", "GetConsoleOutput");
    request.addParameter("Version", "2015-10-01");

    if (getConsoleOutputRequest.getInstanceId() != null) {
      request.addParameter("InstanceId", StringUtils.fromString(getConsoleOutputRequest.getInstanceId()));
    }

    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.modelGetConsoleOutputRequestgetInstanceId

Javadoc

The ID of the instance.

Popular methods of GetConsoleOutputRequest

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

Popular in Java

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getApplicationContext (Context)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • 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