Class SpotDatafeedSubscription
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the data feed for a Spot instance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The Amazon S3 bucket where the Spot instance data feed is located.getFault()
The fault codes for the Spot instance request, if any.The AWS account ID of the account.The prefix that is prepended to data feed files.getState()
The state of the Spot instance data feed subscription.int
hashCode()
void
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 AWS account ID of the account.void
The prefix that is prepended to data feed files.void
The state of the Spot instance data feed subscription.void
The state of the Spot instance data feed subscription.toString()
Returns a string representation of this object; useful for testing and debugging.withBucket
(String bucket) The Amazon S3 bucket where the Spot instance data feed is located.withFault
(SpotInstanceStateFault fault) The fault codes for the Spot instance request, if any.withOwnerId
(String ownerId) The AWS account ID of the account.withPrefix
(String prefix) The prefix that is prepended to data feed files.The state of the Spot instance data feed subscription.The state of the Spot instance data feed subscription.
-
Constructor Details
-
SpotDatafeedSubscription
public SpotDatafeedSubscription()
-
-
Method Details
-
setOwnerId
The AWS account ID of the account.
- Parameters:
ownerId
- The AWS account ID of the account.
-
getOwnerId
The AWS account ID of the account.
- Returns:
- The AWS account ID of the account.
-
withOwnerId
The AWS account ID of the account.
- Parameters:
ownerId
- The AWS account ID of the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setBucket
The Amazon S3 bucket where the Spot instance data feed is located.
- Parameters:
bucket
- The Amazon S3 bucket where the Spot instance data feed is located.
-
getBucket
The Amazon S3 bucket where the Spot instance data feed is located.
- Returns:
- The Amazon S3 bucket where the Spot instance data feed is located.
-
withBucket
The Amazon S3 bucket where the Spot instance data feed is located.
- Parameters:
bucket
- The Amazon S3 bucket where the Spot instance data feed is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPrefix
The prefix that is prepended to data feed files.
- Parameters:
prefix
- The prefix that is prepended to data feed files.
-
getPrefix
The prefix that is prepended to data feed files.
- Returns:
- The prefix that is prepended to data feed files.
-
withPrefix
The prefix that is prepended to data feed files.
- Parameters:
prefix
- The prefix that is prepended to data feed files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setState
The state of the Spot instance data feed subscription.
- Parameters:
state
- The state of the Spot instance data feed subscription.- See Also:
-
getState
The state of the Spot instance data feed subscription.
- Returns:
- The state of the Spot instance data feed subscription.
- See Also:
-
withState
The state of the Spot instance data feed subscription.
- Parameters:
state
- The state of the Spot instance data feed subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setState
The state of the Spot instance data feed subscription.
- Parameters:
state
- The state of the Spot instance data feed subscription.- See Also:
-
withState
The state of the Spot instance data feed subscription.
- Parameters:
state
- The state of the Spot instance data feed subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setFault
The fault codes for the Spot instance request, if any.
- Parameters:
fault
- The fault codes for the Spot instance request, if any.
-
getFault
The fault codes for the Spot instance request, if any.
- Returns:
- The fault codes for the Spot instance request, if any.
-
withFault
The fault codes for the Spot instance request, if any.
- Parameters:
fault
- The fault codes for the Spot instance request, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-