com.amazonaws.services.ec2.model
Class CancelSpotInstanceRequestsResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.CancelSpotInstanceRequestsResult
All Implemented Interfaces:
Serializable

public class CancelSpotInstanceRequestsResult
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
CancelSpotInstanceRequestsResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<CancelledSpotInstanceRequest> getCancelledSpotInstanceRequests()
          One or more Spot Instance requests.
 int hashCode()
           
 void setCancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
          One or more Spot Instance requests.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CancelSpotInstanceRequestsResult withCancelledSpotInstanceRequests(CancelledSpotInstanceRequest... cancelledSpotInstanceRequests)
          One or more Spot Instance requests.
 CancelSpotInstanceRequestsResult withCancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
          One or more Spot Instance requests.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CancelSpotInstanceRequestsResult

public CancelSpotInstanceRequestsResult()
Method Detail

getCancelledSpotInstanceRequests

public List<CancelledSpotInstanceRequest> getCancelledSpotInstanceRequests()
One or more Spot Instance requests.

Returns:
One or more Spot Instance requests.

setCancelledSpotInstanceRequests

public void setCancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
One or more Spot Instance requests.

Parameters:
cancelledSpotInstanceRequests - One or more Spot Instance requests.

withCancelledSpotInstanceRequests

public CancelSpotInstanceRequestsResult withCancelledSpotInstanceRequests(CancelledSpotInstanceRequest... cancelledSpotInstanceRequests)
One or more Spot Instance requests.

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

Parameters:
cancelledSpotInstanceRequests - One or more Spot Instance requests.
Returns:
A reference to this updated object so that method calls can be chained together.

withCancelledSpotInstanceRequests

public CancelSpotInstanceRequestsResult withCancelledSpotInstanceRequests(Collection<CancelledSpotInstanceRequest> cancelledSpotInstanceRequests)
One or more Spot Instance requests.

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

Parameters:
cancelledSpotInstanceRequests - One or more Spot Instance requests.
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 © 2016. All rights reserved.