@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBucket()
The name of 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()
The prefix for the data feed file names.
|
int |
hashCode() |
void |
setBucket(String bucket)
The name of the Amazon S3 bucket in which to store the Spot Instance data feed.
|
void |
setPrefix(String prefix)
The prefix for the data feed file names.
|
String |
toString()
Returns a string representation of this object.
|
CreateSpotDatafeedSubscriptionRequest |
withBucket(String bucket)
The name of the Amazon S3 bucket in which to store the Spot Instance data feed.
|
CreateSpotDatafeedSubscriptionRequest |
withPrefix(String prefix)
The prefix for the data feed file names.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateSpotDatafeedSubscriptionRequest()
public CreateSpotDatafeedSubscriptionRequest(String bucket)
bucket
- The name of the Amazon S3 bucket in which to store the Spot Instance data feed. For more information about
bucket names, see Rules for
bucket naming in the Amazon S3 Developer Guide.public void setBucket(String bucket)
The name of the Amazon S3 bucket in which to store the Spot Instance data feed. For more information about bucket names, see Rules for bucket naming in the Amazon S3 Developer Guide.
bucket
- The name of the Amazon S3 bucket in which to store the Spot Instance data feed. For more information about
bucket names, see Rules for
bucket naming in the Amazon S3 Developer Guide.public String getBucket()
The name of the Amazon S3 bucket in which to store the Spot Instance data feed. For more information about bucket names, see Rules for bucket naming in the Amazon S3 Developer Guide.
public CreateSpotDatafeedSubscriptionRequest withBucket(String bucket)
The name of the Amazon S3 bucket in which to store the Spot Instance data feed. For more information about bucket names, see Rules for bucket naming in the Amazon S3 Developer Guide.
bucket
- The name of the Amazon S3 bucket in which to store the Spot Instance data feed. For more information about
bucket names, see Rules for
bucket naming in the Amazon S3 Developer Guide.public void setPrefix(String prefix)
The prefix for the data feed file names.
prefix
- The prefix for the data feed file names.public String getPrefix()
The prefix for the data feed file names.
public CreateSpotDatafeedSubscriptionRequest withPrefix(String prefix)
The prefix for the data feed file names.
prefix
- The 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()