Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.opsworks.model
Class DescribeInstancesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.opsworks.model.DescribeInstancesRequest
All Implemented Interfaces:
Serializable

public class DescribeInstancesRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeInstances operation.

Requests a description of a set of instances associated with a specified ID or IDs.

See Also:
AWSOpsWorks.describeInstances(DescribeInstancesRequest), Serialized Form

Constructor Summary
DescribeInstancesRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAppId()
          An app ID.
 List<String> getInstanceIds()
          An array of instance IDs to be described.
 String getLayerId()
          A layer ID.
 String getStackId()
          A stack ID.
 int hashCode()
           
 void setAppId(String appId)
          An app ID.
 void setInstanceIds(Collection<String> instanceIds)
          An array of instance IDs to be described.
 void setLayerId(String layerId)
          A layer ID.
 void setStackId(String stackId)
          A stack ID.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeInstancesRequest withAppId(String appId)
          An app ID.
 DescribeInstancesRequest withInstanceIds(Collection<String> instanceIds)
          An array of instance IDs to be described.
 DescribeInstancesRequest withInstanceIds(String... instanceIds)
          An array of instance IDs to be described.
 DescribeInstancesRequest withLayerId(String layerId)
          A layer ID.
 DescribeInstancesRequest withStackId(String stackId)
          A stack ID.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeInstancesRequest

public DescribeInstancesRequest()
Method Detail

getStackId

public String getStackId()
A stack ID.

Returns:
A stack ID.

setStackId

public void setStackId(String stackId)
A stack ID.

Parameters:
stackId - A stack ID.

withStackId

public DescribeInstancesRequest withStackId(String stackId)
A stack ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stackId - A stack ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getLayerId

public String getLayerId()
A layer ID.

Returns:
A layer ID.

setLayerId

public void setLayerId(String layerId)
A layer ID.

Parameters:
layerId - A layer ID.

withLayerId

public DescribeInstancesRequest withLayerId(String layerId)
A layer ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
layerId - A layer ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getAppId

public String getAppId()
An app ID.

Returns:
An app ID.

setAppId

public void setAppId(String appId)
An app ID.

Parameters:
appId - An app ID.

withAppId

public DescribeInstancesRequest withAppId(String appId)
An app ID.

Returns a reference to this object so that method calls can be chained together.

Parameters:
appId - An app ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceIds

public List<String> getInstanceIds()
An array of instance IDs to be described.

Returns:
An array of instance IDs to be described.

setInstanceIds

public void setInstanceIds(Collection<String> instanceIds)
An array of instance IDs to be described.

Parameters:
instanceIds - An array of instance IDs to be described.

withInstanceIds

public DescribeInstancesRequest withInstanceIds(String... instanceIds)
An array of instance IDs to be described.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceIds - An array of instance IDs to be described.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstanceIds

public DescribeInstancesRequest withInstanceIds(Collection<String> instanceIds)
An array of instance IDs to be described.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceIds - An array of instance IDs to be described.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.