@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SavingsPlansDetails extends Object implements Serializable, Cloneable, StructuredPojo
Attribute details on a specific Savings Plan.
Constructor and Description |
---|
SavingsPlansDetails() |
Modifier and Type | Method and Description |
---|---|
SavingsPlansDetails |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceFamily()
A group of instance types that Savings Plans applies to.
|
String |
getOfferingId()
The unique ID used to distinguish Savings Plans from one another.
|
String |
getRegion()
A geographic location where the Savings Plans is hosted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setInstanceFamily(String instanceFamily)
A group of instance types that Savings Plans applies to.
|
void |
setOfferingId(String offeringId)
The unique ID used to distinguish Savings Plans from one another.
|
void |
setRegion(String region)
A geographic location where the Savings Plans is hosted.
|
String |
toString()
Returns a string representation of this object.
|
SavingsPlansDetails |
withInstanceFamily(String instanceFamily)
A group of instance types that Savings Plans applies to.
|
SavingsPlansDetails |
withOfferingId(String offeringId)
The unique ID used to distinguish Savings Plans from one another.
|
SavingsPlansDetails |
withRegion(String region)
A geographic location where the Savings Plans is hosted.
|
public void setRegion(String region)
A geographic location where the Savings Plans is hosted.
region
- A geographic location where the Savings Plans is hosted.public String getRegion()
A geographic location where the Savings Plans is hosted.
public SavingsPlansDetails withRegion(String region)
A geographic location where the Savings Plans is hosted.
region
- A geographic location where the Savings Plans is hosted.public void setInstanceFamily(String instanceFamily)
A group of instance types that Savings Plans applies to.
instanceFamily
- A group of instance types that Savings Plans applies to.public String getInstanceFamily()
A group of instance types that Savings Plans applies to.
public SavingsPlansDetails withInstanceFamily(String instanceFamily)
A group of instance types that Savings Plans applies to.
instanceFamily
- A group of instance types that Savings Plans applies to.public void setOfferingId(String offeringId)
The unique ID used to distinguish Savings Plans from one another.
offeringId
- The unique ID used to distinguish Savings Plans from one another.public String getOfferingId()
The unique ID used to distinguish Savings Plans from one another.
public SavingsPlansDetails withOfferingId(String offeringId)
The unique ID used to distinguish Savings Plans from one another.
offeringId
- The unique ID used to distinguish Savings Plans from one another.public String toString()
toString
in class Object
Object.toString()
public SavingsPlansDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.