@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RenewalSettings extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
RenewalSettings() |
| Modifier and Type | Method and Description |
|---|---|
RenewalSettings |
clone() |
boolean |
equals(Object obj) |
String |
getAutomaticRenewal()
Automatic renewal status for the reservation
|
Integer |
getRenewalCount()
Count for the reservation renewal
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAutomaticRenewal(String automaticRenewal)
Automatic renewal status for the reservation
|
void |
setRenewalCount(Integer renewalCount)
Count for the reservation renewal
|
String |
toString()
Returns a string representation of this object.
|
RenewalSettings |
withAutomaticRenewal(ReservationAutomaticRenewal automaticRenewal)
Automatic renewal status for the reservation
|
RenewalSettings |
withAutomaticRenewal(String automaticRenewal)
Automatic renewal status for the reservation
|
RenewalSettings |
withRenewalCount(Integer renewalCount)
Count for the reservation renewal
|
public void setAutomaticRenewal(String automaticRenewal)
automaticRenewal - Automatic renewal status for the reservationReservationAutomaticRenewalpublic String getAutomaticRenewal()
ReservationAutomaticRenewalpublic RenewalSettings withAutomaticRenewal(String automaticRenewal)
automaticRenewal - Automatic renewal status for the reservationReservationAutomaticRenewalpublic RenewalSettings withAutomaticRenewal(ReservationAutomaticRenewal automaticRenewal)
automaticRenewal - Automatic renewal status for the reservationReservationAutomaticRenewalpublic void setRenewalCount(Integer renewalCount)
renewalCount - Count for the reservation renewalpublic Integer getRenewalCount()
public RenewalSettings withRenewalCount(Integer renewalCount)
renewalCount - Count for the reservation renewalpublic String toString()
toString in class ObjectObject.toString()public RenewalSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.