public class CreateSpotDatafeedSubscriptionRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<CreateSpotDatafeedSubscriptionRequest>
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 .
Constructor and Description |
---|
CreateSpotDatafeedSubscriptionRequest()
Default constructor for a new CreateSpotDatafeedSubscriptionRequest object.
|
CreateSpotDatafeedSubscriptionRequest(String bucket)
Constructs a new CreateSpotDatafeedSubscriptionRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getBucket()
The Amazon S3 bucket in which to store the Spot Instance datafeed.
|
Request<CreateSpotDatafeedSubscriptionRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public CreateSpotDatafeedSubscriptionRequest()
public CreateSpotDatafeedSubscriptionRequest(String bucket)
bucket
- The Amazon S3 bucket in which to store the Spot Instance
datafeed.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 Request<CreateSpotDatafeedSubscriptionRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateSpotDatafeedSubscriptionRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.