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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateSpotDatafeedSubscriptionRequest()Default constructor for CreateSpotDatafeedSubscriptionRequest object.CreateSpotDatafeedSubscriptionRequest(String bucket)Constructs a new CreateSpotDatafeedSubscriptionRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSpotDatafeedSubscriptionRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetBucket()The Amazon S3 bucket in which to store the Spot instance data feed.Request<CreateSpotDatafeedSubscriptionRequest>getDryRunRequest()This method is intended for internal use only.StringgetPrefix()A prefix for the data feed file names.inthashCode()voidsetBucket(String bucket)The Amazon S3 bucket in which to store the Spot instance data feed.voidsetPrefix(String prefix)A prefix for the data feed file names.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateSpotDatafeedSubscriptionRequestwithBucket(String bucket)The Amazon S3 bucket in which to store the Spot instance data feed.CreateSpotDatafeedSubscriptionRequestwithPrefix(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 Detail
-
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
public CreateSpotDatafeedSubscriptionRequest(String bucket)
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 Detail
-
setBucket
public void setBucket(String bucket)
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
public String 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
public CreateSpotDatafeedSubscriptionRequest withBucket(String bucket)
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
public void setPrefix(String prefix)
A prefix for the data feed file names.
- Parameters:
prefix- A prefix for the data feed file names.
-
getPrefix
public String getPrefix()
A prefix for the data feed file names.
- Returns:
- A prefix for the data feed file names.
-
withPrefix
public CreateSpotDatafeedSubscriptionRequest withPrefix(String prefix)
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
public Request<CreateSpotDatafeedSubscriptionRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequestin interfaceDryRunSupportedRequest<CreateSpotDatafeedSubscriptionRequest>
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateSpotDatafeedSubscriptionRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-