|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CreateSpotDatafeedSubscriptionRequest
public class CreateSpotDatafeedSubscriptionRequest
Container for the parameters to the CreateSpotDatafeedSubscription operation
.
Creates a datafeed 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 Instances in the Amazon Elastic Compute Cloud User Guide .
AmazonEC2.createSpotDatafeedSubscription(CreateSpotDatafeedSubscriptionRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateSpotDatafeedSubscriptionRequest()
Default constructor for a new CreateSpotDatafeedSubscriptionRequest object. |
|
CreateSpotDatafeedSubscriptionRequest(java.lang.String bucket)
Constructs a new CreateSpotDatafeedSubscriptionRequest object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getBucket()
The Amazon S3 bucket in which to store the Spot Instance datafeed. |
Request<CreateSpotDatafeedSubscriptionRequest> |
getDryRunRequest()
This method is intended for internal use only. |
java.lang.String |
getPrefix()
A prefix for the datafeed file names. |
int |
hashCode()
|
void |
setBucket(java.lang.String bucket)
The Amazon S3 bucket in which to store the Spot Instance datafeed. |
void |
setPrefix(java.lang.String prefix)
A prefix for the datafeed 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 datafeed. |
CreateSpotDatafeedSubscriptionRequest |
withPrefix(java.lang.String prefix)
A prefix for the datafeed file names. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateSpotDatafeedSubscriptionRequest()
public CreateSpotDatafeedSubscriptionRequest(java.lang.String bucket)
bucket
- The Amazon S3 bucket in which to store the Spot Instance
datafeed. Constraints: Must be a valid bucket associated with your AWS account.
Method Detail |
---|
public java.lang.String getBucket()
Constraints: Must be a valid bucket associated with your AWS account.
Constraints: Must be a valid bucket associated with your AWS account.
public void setBucket(java.lang.String bucket)
Constraints: Must be a valid bucket associated with your AWS account.
bucket
- The Amazon S3 bucket in which to store the Spot Instance datafeed.
Constraints: Must be a valid bucket associated with your AWS account.
public CreateSpotDatafeedSubscriptionRequest withBucket(java.lang.String bucket)
Constraints: Must be a valid bucket associated with your AWS account.
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 datafeed.
Constraints: Must be a valid bucket associated with your AWS account.
public java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
prefix
- A prefix for the datafeed 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 datafeed 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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |