@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddOnRequest extends Object implements Serializable, Cloneable, StructuredPojo
Describes a request to enable, modify, or disable an add-on for an Amazon Lightsail resource.
An additional cost may be associated with enabling add-ons. For more information, see the Lightsail pricing page.
| Constructor and Description |
|---|
AddOnRequest() |
| Modifier and Type | Method and Description |
|---|---|
AddOnRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAddOnType()
The add-on type.
|
AutoSnapshotAddOnRequest |
getAutoSnapshotAddOnRequest()
An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAddOnType(String addOnType)
The add-on type.
|
void |
setAutoSnapshotAddOnRequest(AutoSnapshotAddOnRequest autoSnapshotAddOnRequest)
An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.
|
String |
toString()
Returns a string representation of this object.
|
AddOnRequest |
withAddOnType(AddOnType addOnType)
The add-on type.
|
AddOnRequest |
withAddOnType(String addOnType)
The add-on type.
|
AddOnRequest |
withAutoSnapshotAddOnRequest(AutoSnapshotAddOnRequest autoSnapshotAddOnRequest)
An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.
|
public void setAddOnType(String addOnType)
The add-on type.
addOnType - The add-on type.AddOnTypepublic String getAddOnType()
The add-on type.
AddOnTypepublic AddOnRequest withAddOnType(String addOnType)
The add-on type.
addOnType - The add-on type.AddOnTypepublic AddOnRequest withAddOnType(AddOnType addOnType)
The add-on type.
addOnType - The add-on type.AddOnTypepublic void setAutoSnapshotAddOnRequest(AutoSnapshotAddOnRequest autoSnapshotAddOnRequest)
An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.
autoSnapshotAddOnRequest - An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.public AutoSnapshotAddOnRequest getAutoSnapshotAddOnRequest()
An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.
public AddOnRequest withAutoSnapshotAddOnRequest(AutoSnapshotAddOnRequest autoSnapshotAddOnRequest)
An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.
autoSnapshotAddOnRequest - An object that represents additional parameters when enabling or modifying the automatic snapshot add-on.public String toString()
toString in class ObjectObject.toString()public AddOnRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.