public class CreateSpotDatafeedSubscriptionRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<CreateSpotDatafeedSubscriptionRequest>
Contains the parameters for CreateSpotDatafeedSubscription.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
bucket
The Amazon S3 bucket in which to store the Spot instance data feed.
|
private java.lang.String |
prefix
A prefix for the data feed file names.
|
NOOP
Constructor and Description |
---|
CreateSpotDatafeedSubscriptionRequest()
Default constructor for CreateSpotDatafeedSubscriptionRequest object.
|
CreateSpotDatafeedSubscriptionRequest(java.lang.String bucket)
Constructs a new CreateSpotDatafeedSubscriptionRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateSpotDatafeedSubscriptionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
java.lang.String |
getPrefix()
A prefix for the data feed file names.
|
int |
hashCode() |
void |
setBucket(java.lang.String bucket)
The Amazon S3 bucket in which to store the Spot instance data feed.
|
void |
setPrefix(java.lang.String prefix)
A prefix for the data feed file names.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateSpotDatafeedSubscriptionRequest |
withBucket(java.lang.String bucket)
The Amazon S3 bucket in which to store the Spot instance data feed.
|
CreateSpotDatafeedSubscriptionRequest |
withPrefix(java.lang.String prefix)
A prefix for the data feed file names.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String bucket
The Amazon S3 bucket in which to store the Spot instance data feed.
private java.lang.String prefix
A prefix for the data feed file names.
public CreateSpotDatafeedSubscriptionRequest()
public CreateSpotDatafeedSubscriptionRequest(java.lang.String bucket)
bucket
- The Amazon S3 bucket in which to store the Spot instance data
feed.public void setBucket(java.lang.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 java.lang.String getBucket()
The Amazon S3 bucket in which to store the Spot instance data feed.
public CreateSpotDatafeedSubscriptionRequest withBucket(java.lang.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(java.lang.String prefix)
A prefix for the data feed file names.
prefix
- A prefix for the data feed file names.public java.lang.String getPrefix()
A prefix for the data feed file names.
public CreateSpotDatafeedSubscriptionRequest withPrefix(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateSpotDatafeedSubscriptionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()