@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SageMakerSavingsPlans extends Object implements Serializable, Cloneable, StructuredPojo
The SageMaker Savings Plans recommendation details.
Constructor and Description |
---|
SageMakerSavingsPlans() |
Modifier and Type | Method and Description |
---|---|
SageMakerSavingsPlans |
clone() |
boolean |
equals(Object obj) |
SageMakerSavingsPlansConfiguration |
getConfiguration()
The SageMaker Savings Plans configuration used for recommendations.
|
SavingsPlansCostCalculation |
getCostCalculation()
Cost impact of the Savings Plans purchase recommendation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfiguration(SageMakerSavingsPlansConfiguration configuration)
The SageMaker Savings Plans configuration used for recommendations.
|
void |
setCostCalculation(SavingsPlansCostCalculation costCalculation)
Cost impact of the Savings Plans purchase recommendation.
|
String |
toString()
Returns a string representation of this object.
|
SageMakerSavingsPlans |
withConfiguration(SageMakerSavingsPlansConfiguration configuration)
The SageMaker Savings Plans configuration used for recommendations.
|
SageMakerSavingsPlans |
withCostCalculation(SavingsPlansCostCalculation costCalculation)
Cost impact of the Savings Plans purchase recommendation.
|
public void setConfiguration(SageMakerSavingsPlansConfiguration configuration)
The SageMaker Savings Plans configuration used for recommendations.
configuration
- The SageMaker Savings Plans configuration used for recommendations.public SageMakerSavingsPlansConfiguration getConfiguration()
The SageMaker Savings Plans configuration used for recommendations.
public SageMakerSavingsPlans withConfiguration(SageMakerSavingsPlansConfiguration configuration)
The SageMaker Savings Plans configuration used for recommendations.
configuration
- The SageMaker Savings Plans configuration used for recommendations.public void setCostCalculation(SavingsPlansCostCalculation costCalculation)
Cost impact of the Savings Plans purchase recommendation.
costCalculation
- Cost impact of the Savings Plans purchase recommendation.public SavingsPlansCostCalculation getCostCalculation()
Cost impact of the Savings Plans purchase recommendation.
public SageMakerSavingsPlans withCostCalculation(SavingsPlansCostCalculation costCalculation)
Cost impact of the Savings Plans purchase recommendation.
costCalculation
- Cost impact of the Savings Plans purchase recommendation.public String toString()
toString
in class Object
Object.toString()
public SageMakerSavingsPlans clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.