@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetConfiguration extends Object implements Serializable, Cloneable
Information about the Convertible Reserved Instance offering.
Constructor and Description |
---|
TargetConfiguration() |
Modifier and Type | Method and Description |
---|---|
TargetConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getInstanceCount()
The number of instances the Convertible Reserved Instance offering can be applied to.
|
String |
getOfferingId()
The ID of the Convertible Reserved Instance offering.
|
int |
hashCode() |
void |
setInstanceCount(Integer instanceCount)
The number of instances the Convertible Reserved Instance offering can be applied to.
|
void |
setOfferingId(String offeringId)
The ID of the Convertible Reserved Instance offering.
|
String |
toString()
Returns a string representation of this object.
|
TargetConfiguration |
withInstanceCount(Integer instanceCount)
The number of instances the Convertible Reserved Instance offering can be applied to.
|
TargetConfiguration |
withOfferingId(String offeringId)
The ID of the Convertible Reserved Instance offering.
|
public void setInstanceCount(Integer instanceCount)
The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is reserved and cannot be specified in a request
instanceCount
- The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is
reserved and cannot be specified in a requestpublic Integer getInstanceCount()
The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is reserved and cannot be specified in a request
public TargetConfiguration withInstanceCount(Integer instanceCount)
The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is reserved and cannot be specified in a request
instanceCount
- The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is
reserved and cannot be specified in a requestpublic void setOfferingId(String offeringId)
The ID of the Convertible Reserved Instance offering.
offeringId
- The ID of the Convertible Reserved Instance offering.public String getOfferingId()
The ID of the Convertible Reserved Instance offering.
public TargetConfiguration withOfferingId(String offeringId)
The ID of the Convertible Reserved Instance offering.
offeringId
- The ID of the Convertible Reserved Instance offering.public String toString()
toString
in class Object
Object.toString()
public TargetConfiguration clone()