@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 Covertible 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 Covertible 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; useful for testing and debugging.
|
TargetConfigurationRequest |
withInstanceCount(Integer instanceCount)
The number of instances the Covertible Reserved Instance offering can be applied to.
|
TargetConfigurationRequest |
withOfferingId(String offeringId)
The Convertible Reserved Instance offering ID.
|
public 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 void setInstanceCount(Integer instanceCount)
The number of instances the Covertible Reserved Instance offering can be applied to. This parameter is reserved and cannot be specified in a request
instanceCount
- The number of instances the Covertible 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 Covertible 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 Covertible Reserved Instance offering can be applied to. This parameter is reserved and cannot be specified in a request
instanceCount
- The number of instances the Covertible Reserved Instance offering can be applied to. This parameter is
reserved and cannot be specified in a requestpublic String toString()
toString
in class Object
Object.toString()
public TargetConfigurationRequest clone()
Copyright © 2017. All rights reserved.