ContactMethod class

Describes a contact method.

A contact method is a way to send you notifications. For more information, see Notifications in Amazon Lightsail.

Constructors

ContactMethod({String? arn, String? contactEndpoint, DateTime? createdAt, ResourceLocation? location, String? name, ContactProtocol? protocol, ResourceType? resourceType, ContactMethodStatus? status, String? supportCode})
ContactMethod.fromJson(Map<String, dynamic> json)
factory

Properties

arn String?
The Amazon Resource Name (ARN) of the contact method.
final
contactEndpoint String?
The destination of the contact method, such as an email address or a mobile phone number.
final
createdAt DateTime?
The timestamp when the contact method was created.
final
hashCode int
The hash code for this object.
no setterinherited
location ResourceLocation?
final
name String?
The name of the contact method.
final
protocol ContactProtocol?
The protocol of the contact method, such as email or SMS (text messaging).
final
resourceType ResourceType?
The Lightsail resource type (e.g., ContactMethod).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ContactMethodStatus?
The current status of the contact method.
final
supportCode String?
The support code. Include this code in your email to support when you have questions about your Lightsail contact method. This code enables our support team to look up your Lightsail information more easily.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited