public class CreateSpotDatafeedSubscriptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateSpotDatafeedSubscriptionRequest>
CreateSpotDatafeedSubscription operation
.
Creates a data feed for Spot instances, enabling you to view Spot instance usage logs. You can create one data feed per AWS account. For more information, see Spot Instance Data Feed in the Amazon Elastic Compute Cloud User Guide .
NOOP
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 |
---|---|
CreateSpotDatafeedSubscriptionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The Amazon S3 bucket in which to store the Spot instance data feed.
|
Request<CreateSpotDatafeedSubscriptionRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getPrefix()
A prefix for the data feed file names.
|
int |
hashCode() |
void |
setBucket(String bucket)
The Amazon S3 bucket in which to store the Spot instance data feed.
|
void |
setPrefix(String prefix)
A prefix for the data feed file names.
|
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 data feed.
|
CreateSpotDatafeedSubscriptionRequest |
withPrefix(String prefix)
A prefix for the data feed file names.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public CreateSpotDatafeedSubscriptionRequest()
public CreateSpotDatafeedSubscriptionRequest(String bucket)
bucket
- The Amazon S3 bucket in which to store the Spot instance
data feed.public String getBucket()
public void setBucket(String bucket)
bucket
- The Amazon S3 bucket in which to store the Spot instance data feed.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 data feed.public String getPrefix()
public void setPrefix(String prefix)
prefix
- A prefix for the data feed file names.public CreateSpotDatafeedSubscriptionRequest withPrefix(String prefix)
Returns a reference to this object so that method calls can be chained together.
prefix
- A prefix for the data feed file names.public Request<CreateSpotDatafeedSubscriptionRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateSpotDatafeedSubscriptionRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateSpotDatafeedSubscriptionRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.