|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CreateSpotDatafeedSubscriptionRequest
public class CreateSpotDatafeedSubscriptionRequest
Container for the parameters to the CreateSpotDatafeedSubscription operation
.
Creates the data feed for Spot Instances, enabling you to view Spot Instance usage logs. You can create one data feed per account.
For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .
AmazonEC2.createSpotDatafeedSubscription(CreateSpotDatafeedSubscriptionRequest)
Constructor Summary | |
---|---|
CreateSpotDatafeedSubscriptionRequest()
Default constructor for a new CreateSpotDatafeedSubscriptionRequest object. |
|
CreateSpotDatafeedSubscriptionRequest(String bucket)
Constructs a new CreateSpotDatafeedSubscriptionRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getBucket()
The Amazon S3 bucket in which to store the Spot Instance datafeed. |
String |
getPrefix()
The prefix that is prepended to datafeed files. |
int |
hashCode()
|
void |
setBucket(String bucket)
The Amazon S3 bucket in which to store the Spot Instance datafeed. |
void |
setPrefix(String prefix)
The prefix that is prepended to datafeed files. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateSpotDatafeedSubscriptionRequest |
withBucket(String bucket)
The Amazon S3 bucket in which to store the Spot Instance datafeed. |
CreateSpotDatafeedSubscriptionRequest |
withPrefix(String prefix)
The prefix that is prepended to datafeed files. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateSpotDatafeedSubscriptionRequest()
public CreateSpotDatafeedSubscriptionRequest(String bucket)
bucket
- The Amazon S3 bucket in which to store the Spot Instance
datafeed.Method Detail |
---|
public String getBucket()
public void setBucket(String bucket)
bucket
- The Amazon S3 bucket in which to store the Spot Instance datafeed.public CreateSpotDatafeedSubscriptionRequest withBucket(String bucket)
Returns a reference to this object so that method calls can be chained together.
bucket
- The Amazon S3 bucket in which to store the Spot Instance datafeed.
public String getPrefix()
public void setPrefix(String prefix)
prefix
- The prefix that is prepended to datafeed files.public CreateSpotDatafeedSubscriptionRequest withPrefix(String prefix)
Returns a reference to this object so that method calls can be chained together.
prefix
- The prefix that is prepended to datafeed files.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |