@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetConfigurationRequest extends Object implements Serializable, Cloneable
Details about the target configuration.
Constructor and Description |
---|
TargetConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
TargetConfigurationRequest |
clone() |
boolean |
equals(Object obj) |
Integer |
getInstanceCount()
The number of instances the Convertible Reserved Instance offering can be applied to.
|
String |
getOfferingId()
The Convertible Reserved Instance offering ID.
|
int |
hashCode() |
void |
setInstanceCount(Integer instanceCount)
The number of instances the Convertible Reserved Instance offering can be applied to.
|
void |
setOfferingId(String offeringId)
The Convertible Reserved Instance offering ID.
|
String |
toString()
Returns a string representation of this object.
|
TargetConfigurationRequest |
withInstanceCount(Integer instanceCount)
The number of instances the Convertible Reserved Instance offering can be applied to.
|
TargetConfigurationRequest |
withOfferingId(String offeringId)
The Convertible Reserved Instance offering ID.
|
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 TargetConfigurationRequest 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 Convertible Reserved Instance offering ID.
offeringId
- The Convertible Reserved Instance offering ID.public String getOfferingId()
The Convertible Reserved Instance offering ID.
public TargetConfigurationRequest withOfferingId(String offeringId)
The Convertible Reserved Instance offering ID.
offeringId
- The Convertible Reserved Instance offering ID.public String toString()
toString
in class Object
Object.toString()
public TargetConfigurationRequest clone()