@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SavingsPlansDetails extends Object implements Serializable, Cloneable, StructuredPojo
The 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 that's used to distinguish Savings Plans from one another.
|
String |
getRegion()
A collection of Amazon Web Services resources in a geographic area.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInstanceFamily(String instanceFamily)
A group of instance types that Savings Plans applies to.
|
void |
setOfferingId(String offeringId)
The unique ID that's used to distinguish Savings Plans from one another.
|
void |
setRegion(String region)
A collection of Amazon Web Services 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 that's used to distinguish Savings Plans from one another.
|
SavingsPlansDetails |
withRegion(String region)
A collection of Amazon Web Services resources in a geographic area.
|
public void setRegion(String region)
A collection of Amazon Web Services resources in a geographic area. Each Amazon Web Services Region is isolated and independent of the other Regions.
region
- A collection of Amazon Web Services resources in a geographic area. Each Amazon Web Services Region is
isolated and independent of the other Regions.public String getRegion()
A collection of Amazon Web Services resources in a geographic area. Each Amazon Web Services Region is isolated and independent of the other Regions.
public SavingsPlansDetails withRegion(String region)
A collection of Amazon Web Services resources in a geographic area. Each Amazon Web Services Region is isolated and independent of the other Regions.
region
- A collection of Amazon Web Services resources in a geographic area. Each Amazon Web Services 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 that's used to distinguish Savings Plans from one another.
offeringId
- The unique ID that's used to distinguish Savings Plans from one another.public String getOfferingId()
The unique ID that's used to distinguish Savings Plans from one another.
public SavingsPlansDetails withOfferingId(String offeringId)
The unique ID that's used to distinguish Savings Plans from one another.
offeringId
- The unique ID that's 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)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.