| Package | Description |
|---|---|
| com.amazonaws.services.lightsail.model |
| Modifier and Type | Method and Description |
|---|---|
static ContactProtocol |
ContactProtocol.fromValue(String value)
Use this in place of valueOf.
|
static ContactProtocol |
ContactProtocol.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContactProtocol[] |
ContactProtocol.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
PutAlarmRequest |
PutAlarmRequest.withContactProtocols(ContactProtocol... contactProtocols)
The contact protocols to use for the alarm, such as
Email, SMS (text messaging), or
both. |
Alarm |
Alarm.withContactProtocols(ContactProtocol... contactProtocols)
The contact protocols for the alarm, such as
Email, SMS (text messaging), or both. |
ContactMethod |
ContactMethod.withProtocol(ContactProtocol protocol)
The protocol of the contact method, such as email or SMS (text messaging).
|
DeleteContactMethodRequest |
DeleteContactMethodRequest.withProtocol(ContactProtocol protocol)
The protocol that will be deleted, such as
Email or SMS (text messaging). |
CreateContactMethodRequest |
CreateContactMethodRequest.withProtocol(ContactProtocol protocol)
The protocol of the contact method, such as
Email or SMS (text messaging). |
GetContactMethodsRequest |
GetContactMethodsRequest.withProtocols(ContactProtocol... protocols)
The protocols used to send notifications, such as
Email, or SMS (text messaging). |
Copyright © 2025. All rights reserved.