Package com.amazonaws.services.ec2.model
Class CreateSpotDatafeedSubscriptionRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CreateSpotDatafeedSubscriptionRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<CreateSpotDatafeedSubscriptionRequest>
,Serializable
,Cloneable
public class CreateSpotDatafeedSubscriptionRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable, DryRunSupportedRequest<CreateSpotDatafeedSubscriptionRequest>
Contains the parameters for CreateSpotDatafeedSubscription.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for CreateSpotDatafeedSubscriptionRequest object.Constructs a new CreateSpotDatafeedSubscriptionRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The Amazon S3 bucket in which to store the Spot instance data feed.This method is intended for internal use only.A prefix for the data feed file names.int
hashCode()
void
The Amazon S3 bucket in which to store the Spot instance data feed.void
A prefix for the data feed file names.toString()
Returns a string representation of this object; useful for testing and debugging.withBucket
(String bucket) The Amazon S3 bucket in which to store the Spot instance data feed.withPrefix
(String prefix) A prefix for the data feed file names.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
CreateSpotDatafeedSubscriptionRequest
public CreateSpotDatafeedSubscriptionRequest()Default constructor for CreateSpotDatafeedSubscriptionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
CreateSpotDatafeedSubscriptionRequest
Constructs a new CreateSpotDatafeedSubscriptionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
bucket
- The Amazon S3 bucket in which to store the Spot instance data feed.
-
-
Method Details
-
setBucket
The Amazon S3 bucket in which to store the Spot instance data feed.
- Parameters:
bucket
- The Amazon S3 bucket in which to store the Spot instance data feed.
-
getBucket
The Amazon S3 bucket in which to store the Spot instance data feed.
- Returns:
- The Amazon S3 bucket in which to store the Spot instance data feed.
-
withBucket
The Amazon S3 bucket in which to store the Spot instance data feed.
- Parameters:
bucket
- The Amazon S3 bucket in which to store the Spot instance data feed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPrefix
A prefix for the data feed file names.
- Parameters:
prefix
- A prefix for the data feed file names.
-
getPrefix
A prefix for the data feed file names.
- Returns:
- A prefix for the data feed file names.
-
withPrefix
A prefix for the data feed file names.
- Parameters:
prefix
- A prefix for the data feed file names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<CreateSpotDatafeedSubscriptionRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-