public class CreateSpotDatafeedSubscriptionRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<CreateSpotDatafeedSubscriptionRequest>
CreateSpotDatafeedSubscription operation
.
Creates a data feed for Spot instances, enabling you to view Spot instance usage logs. You can create one data feed per AWS account. For more information, see Spot Instance Data Feed in the Amazon Elastic Compute Cloud User Guide .
Constructor and Description |
---|
CreateSpotDatafeedSubscriptionRequest()
Default constructor for a new CreateSpotDatafeedSubscriptionRequest object.
|
CreateSpotDatafeedSubscriptionRequest(java.lang.String bucket)
Constructs a new CreateSpotDatafeedSubscriptionRequest object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public CreateSpotDatafeedSubscriptionRequest()
public CreateSpotDatafeedSubscriptionRequest(java.lang.String bucket)
bucket
- The Amazon S3 bucket in which to store the Spot instance
data feed.public java.lang.String getBucket()
public void setBucket(java.lang.String bucket)
bucket
- The Amazon S3 bucket in which to store the Spot instance data feed.public CreateSpotDatafeedSubscriptionRequest withBucket(java.lang.String bucket)
Returns a reference to this object so that method calls can be chained together.
bucket
- The Amazon S3 bucket in which to store the Spot instance data feed.public java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
prefix
- A prefix for the data feed file names.public CreateSpotDatafeedSubscriptionRequest withPrefix(java.lang.String prefix)
Returns a reference to this object so that method calls can be chained together.
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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.