public class CreateSpotDatafeedSubscriptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateSpotDatafeedSubscriptionRequest>
Contains the parameters for CreateSpotDatafeedSubscription.
NOOP
Constructor and Description |
---|
CreateSpotDatafeedSubscriptionRequest()
Default constructor for CreateSpotDatafeedSubscriptionRequest object.
|
CreateSpotDatafeedSubscriptionRequest(String bucket)
Constructs a new CreateSpotDatafeedSubscriptionRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateSpotDatafeedSubscriptionRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateSpotDatafeedSubscriptionRequest()
public CreateSpotDatafeedSubscriptionRequest(String bucket)
bucket
- The Amazon S3 bucket in which to store the Spot instance data
feed.public void setBucket(String bucket)
The Amazon S3 bucket in which to store the Spot instance data feed.
bucket
- The Amazon S3 bucket in which to store the Spot instance data
feed.public String getBucket()
The Amazon S3 bucket in which to store the Spot instance data feed.
public CreateSpotDatafeedSubscriptionRequest withBucket(String bucket)
The Amazon S3 bucket in which to store the Spot instance data feed.
bucket
- The Amazon S3 bucket in which to store the Spot instance data
feed.public void setPrefix(String prefix)
A prefix for the data feed file names.
prefix
- A prefix for the data feed file names.public String getPrefix()
A prefix for the data feed file names.
public CreateSpotDatafeedSubscriptionRequest withPrefix(String prefix)
A prefix for the data feed file names.
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()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.