|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.ec2.model.SpotDatafeedSubscription
public class SpotDatafeedSubscription
Describes the datafeed for a Spot Instance.
| Constructor Summary | |
|---|---|
SpotDatafeedSubscription()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getBucket()
The Amazon S3 bucket where the Spot Instance datafeed is located. |
SpotInstanceStateFault |
getFault()
The fault codes for the Spot Instance request, if any. |
java.lang.String |
getOwnerId()
The AWS account ID of the account. |
java.lang.String |
getPrefix()
The prefix that is prepended to datafeed files. |
java.lang.String |
getState()
The state of the Spot Instance datafeed subscription. |
int |
hashCode()
|
void |
setBucket(java.lang.String bucket)
The Amazon S3 bucket where the Spot Instance datafeed is located. |
void |
setFault(SpotInstanceStateFault fault)
The fault codes for the Spot Instance request, if any. |
void |
setOwnerId(java.lang.String ownerId)
The AWS account ID of the account. |
void |
setPrefix(java.lang.String prefix)
The prefix that is prepended to datafeed files. |
void |
setState(DatafeedSubscriptionState state)
The state of the Spot Instance datafeed subscription. |
void |
setState(java.lang.String state)
The state of the Spot Instance datafeed subscription. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SpotDatafeedSubscription |
withBucket(java.lang.String bucket)
The Amazon S3 bucket where the Spot Instance datafeed is located. |
SpotDatafeedSubscription |
withFault(SpotInstanceStateFault fault)
The fault codes for the Spot Instance request, if any. |
SpotDatafeedSubscription |
withOwnerId(java.lang.String ownerId)
The AWS account ID of the account. |
SpotDatafeedSubscription |
withPrefix(java.lang.String prefix)
The prefix that is prepended to datafeed files. |
SpotDatafeedSubscription |
withState(DatafeedSubscriptionState state)
The state of the Spot Instance datafeed subscription. |
SpotDatafeedSubscription |
withState(java.lang.String state)
The state of the Spot Instance datafeed subscription. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SpotDatafeedSubscription()
| Method Detail |
|---|
public java.lang.String getOwnerId()
public void setOwnerId(java.lang.String ownerId)
ownerId - The AWS account ID of the account.public SpotDatafeedSubscription withOwnerId(java.lang.String ownerId)
Returns a reference to this object so that method calls can be chained together.
ownerId - The AWS account ID of the account.
public java.lang.String getBucket()
public void setBucket(java.lang.String bucket)
bucket - The Amazon S3 bucket where the Spot Instance datafeed is located.public SpotDatafeedSubscription withBucket(java.lang.String bucket)
Returns a reference to this object so that method calls can be chained together.
bucket - The Amazon S3 bucket where the Spot Instance datafeed is located.
public java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
prefix - The prefix that is prepended to datafeed files.public SpotDatafeedSubscription withPrefix(java.lang.String prefix)
Returns a reference to this object so that method calls can be chained together.
prefix - The prefix that is prepended to datafeed files.
public java.lang.String getState()
Constraints:
Allowed Values: Active, Inactive
DatafeedSubscriptionStatepublic void setState(java.lang.String state)
Constraints:
Allowed Values: Active, Inactive
state - The state of the Spot Instance datafeed subscription.DatafeedSubscriptionStatepublic SpotDatafeedSubscription withState(java.lang.String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Active, Inactive
state - The state of the Spot Instance datafeed subscription.
DatafeedSubscriptionStatepublic void setState(DatafeedSubscriptionState state)
Constraints:
Allowed Values: Active, Inactive
state - The state of the Spot Instance datafeed subscription.DatafeedSubscriptionStatepublic SpotDatafeedSubscription withState(DatafeedSubscriptionState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Active, Inactive
state - The state of the Spot Instance datafeed subscription.
DatafeedSubscriptionStatepublic SpotInstanceStateFault getFault()
public void setFault(SpotInstanceStateFault fault)
fault - The fault codes for the Spot Instance request, if any.public SpotDatafeedSubscription withFault(SpotInstanceStateFault fault)
Returns a reference to this object so that method calls can be chained together.
fault - The fault codes for the Spot Instance request, if any.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic 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 | ||||||