@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SpotDatafeedSubscription extends Object implements Serializable, Cloneable
Describes the data feed for a Spot Instance.
Constructor and Description |
---|
SpotDatafeedSubscription() |
Modifier and Type | Method and Description |
---|---|
SpotDatafeedSubscription |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The name of the Amazon S3 bucket where the Spot Instance data feed is located.
|
SpotInstanceStateFault |
getFault()
The fault codes for the Spot Instance request, if any.
|
String |
getOwnerId()
The Amazon Web Services account ID of the account.
|
String |
getPrefix()
The prefix for the data feed files.
|
String |
getState()
The state of the Spot Instance data feed subscription.
|
int |
hashCode() |
void |
setBucket(String bucket)
The name of the Amazon S3 bucket where the Spot Instance data feed is located.
|
void |
setFault(SpotInstanceStateFault fault)
The fault codes for the Spot Instance request, if any.
|
void |
setOwnerId(String ownerId)
The Amazon Web Services account ID of the account.
|
void |
setPrefix(String prefix)
The prefix for the data feed files.
|
void |
setState(DatafeedSubscriptionState state)
The state of the Spot Instance data feed subscription.
|
void |
setState(String state)
The state of the Spot Instance data feed subscription.
|
String |
toString()
Returns a string representation of this object.
|
SpotDatafeedSubscription |
withBucket(String bucket)
The name of the Amazon S3 bucket where the Spot Instance data feed is located.
|
SpotDatafeedSubscription |
withFault(SpotInstanceStateFault fault)
The fault codes for the Spot Instance request, if any.
|
SpotDatafeedSubscription |
withOwnerId(String ownerId)
The Amazon Web Services account ID of the account.
|
SpotDatafeedSubscription |
withPrefix(String prefix)
The prefix for the data feed files.
|
SpotDatafeedSubscription |
withState(DatafeedSubscriptionState state)
The state of the Spot Instance data feed subscription.
|
SpotDatafeedSubscription |
withState(String state)
The state of the Spot Instance data feed subscription.
|
public void setBucket(String bucket)
The name of the Amazon S3 bucket where the Spot Instance data feed is located.
bucket
- The name of the Amazon S3 bucket where the Spot Instance data feed is located.public String getBucket()
The name of the Amazon S3 bucket where the Spot Instance data feed is located.
public SpotDatafeedSubscription withBucket(String bucket)
The name of the Amazon S3 bucket where the Spot Instance data feed is located.
bucket
- The name of the Amazon S3 bucket where the Spot Instance data feed is located.public void setFault(SpotInstanceStateFault fault)
The fault codes for the Spot Instance request, if any.
fault
- The fault codes for the Spot Instance request, if any.public SpotInstanceStateFault getFault()
The fault codes for the Spot Instance request, if any.
public SpotDatafeedSubscription withFault(SpotInstanceStateFault fault)
The fault codes for the Spot Instance request, if any.
fault
- The fault codes for the Spot Instance request, if any.public void setOwnerId(String ownerId)
The Amazon Web Services account ID of the account.
ownerId
- The Amazon Web Services account ID of the account.public String getOwnerId()
The Amazon Web Services account ID of the account.
public SpotDatafeedSubscription withOwnerId(String ownerId)
The Amazon Web Services account ID of the account.
ownerId
- The Amazon Web Services account ID of the account.public void setPrefix(String prefix)
The prefix for the data feed files.
prefix
- The prefix for the data feed files.public String getPrefix()
The prefix for the data feed files.
public SpotDatafeedSubscription withPrefix(String prefix)
The prefix for the data feed files.
prefix
- The prefix for the data feed files.public void setState(String state)
The state of the Spot Instance data feed subscription.
state
- The state of the Spot Instance data feed subscription.DatafeedSubscriptionState
public String getState()
The state of the Spot Instance data feed subscription.
DatafeedSubscriptionState
public SpotDatafeedSubscription withState(String state)
The state of the Spot Instance data feed subscription.
state
- The state of the Spot Instance data feed subscription.DatafeedSubscriptionState
public void setState(DatafeedSubscriptionState state)
The state of the Spot Instance data feed subscription.
state
- The state of the Spot Instance data feed subscription.DatafeedSubscriptionState
public SpotDatafeedSubscription withState(DatafeedSubscriptionState state)
The state of the Spot Instance data feed subscription.
state
- The state of the Spot Instance data feed subscription.DatafeedSubscriptionState
public String toString()
toString
in class Object
Object.toString()
public SpotDatafeedSubscription clone()