@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 collection of AWS resources in a geographic area.
|
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 collection of AWS resources in a geographic area.
|
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 collection of AWS resources in a geographic area.
|
public void setRegion(String region)
A collection of AWS resources in a geographic area. Each AWS Region is isolated and independent of the other Regions.
region
- A collection of AWS resources in a geographic area. Each AWS Region is isolated and independent of the
other Regions.public String getRegion()
A collection of AWS resources in a geographic area. Each AWS Region is isolated and independent of the other Regions.
public SavingsPlansDetails withRegion(String region)
A collection of AWS resources in a geographic area. Each AWS Region is isolated and independent of the other Regions.
region
- A collection of AWS resources in a geographic area. Each AWS Region is isolated and independent of the
other Regions.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 © 2020. All rights reserved.