Instance class

A complex type that contains information about an instance that AWS Cloud Map creates when you submit a RegisterInstance request.

Constructors

Instance({required String id, Map<String, String>? attributes, String? creatorRequestId})
Instance.fromJson(Map<String, dynamic> json)
factory

Properties

attributes Map<String, String>?
A string map that contains the following information for the service that you specify in ServiceId:
final
creatorRequestId String?
A unique string that identifies the request and that allows failed RegisterInstance requests to be retried without the risk of executing the operation twice. You must use a unique CreatorRequestId string every time you submit a RegisterInstance request if you're registering additional instances for the same namespace and service. CreatorRequestId can be any unique string, for example, a date/time stamp.
final
hashCode int
The hash code for this object.
no setterinherited
id String
An identifier that you want to associate with the instance. Note the following:
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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