@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SageMakerSavingsPlansConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The SageMaker Savings Plans configuration used for recommendations.
Constructor and Description |
---|
SageMakerSavingsPlansConfiguration() |
Modifier and Type | Method and Description |
---|---|
SageMakerSavingsPlansConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAccountScope()
The account scope that you want your recommendations for.
|
String |
getHourlyCommitment()
The hourly commitment for the Savings Plans type.
|
String |
getPaymentOption()
The payment option for the commitment.
|
String |
getTerm()
The Savings Plans recommendation term in years.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountScope(String accountScope)
The account scope that you want your recommendations for.
|
void |
setHourlyCommitment(String hourlyCommitment)
The hourly commitment for the Savings Plans type.
|
void |
setPaymentOption(String paymentOption)
The payment option for the commitment.
|
void |
setTerm(String term)
The Savings Plans recommendation term in years.
|
String |
toString()
Returns a string representation of this object.
|
SageMakerSavingsPlansConfiguration |
withAccountScope(String accountScope)
The account scope that you want your recommendations for.
|
SageMakerSavingsPlansConfiguration |
withHourlyCommitment(String hourlyCommitment)
The hourly commitment for the Savings Plans type.
|
SageMakerSavingsPlansConfiguration |
withPaymentOption(String paymentOption)
The payment option for the commitment.
|
SageMakerSavingsPlansConfiguration |
withTerm(String term)
The Savings Plans recommendation term in years.
|
public void setAccountScope(String accountScope)
The account scope that you want your recommendations for.
accountScope
- The account scope that you want your recommendations for.public String getAccountScope()
The account scope that you want your recommendations for.
public SageMakerSavingsPlansConfiguration withAccountScope(String accountScope)
The account scope that you want your recommendations for.
accountScope
- The account scope that you want your recommendations for.public void setTerm(String term)
The Savings Plans recommendation term in years.
term
- The Savings Plans recommendation term in years.public String getTerm()
The Savings Plans recommendation term in years.
public SageMakerSavingsPlansConfiguration withTerm(String term)
The Savings Plans recommendation term in years.
term
- The Savings Plans recommendation term in years.public void setPaymentOption(String paymentOption)
The payment option for the commitment.
paymentOption
- The payment option for the commitment.public String getPaymentOption()
The payment option for the commitment.
public SageMakerSavingsPlansConfiguration withPaymentOption(String paymentOption)
The payment option for the commitment.
paymentOption
- The payment option for the commitment.public void setHourlyCommitment(String hourlyCommitment)
The hourly commitment for the Savings Plans type.
hourlyCommitment
- The hourly commitment for the Savings Plans type.public String getHourlyCommitment()
The hourly commitment for the Savings Plans type.
public SageMakerSavingsPlansConfiguration withHourlyCommitment(String hourlyCommitment)
The hourly commitment for the Savings Plans type.
hourlyCommitment
- The hourly commitment for the Savings Plans type.public String toString()
toString
in class Object
Object.toString()
public SageMakerSavingsPlansConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.