toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'arn': ?arn,
    'dataEncryptionKeyId': ?dataEncryptionKeyId,
    'description': ?description,
    'encrypted': ?encrypted,
    'filters': ?(() { final guardedValue = filters; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetSnapshotFilter, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
    'id': ?id,
    'kmsKeyId': ?kmsKeyId,
    'mostRecent': ?mostRecent,
    'outpostArn': ?outpostArn,
    'ownerAlias': ?ownerAlias,
    'ownerId': ?ownerId,
    'owners': ?owners,
    'region': ?region,
    'restorableByUserIds': ?restorableByUserIds,
    'snapshotId': ?snapshotId,
    'snapshotIds': ?snapshotIds,
    'startTime': ?startTime,
    'state': ?state,
    'storageTier': ?storageTier,
    'tags': ?tags,
    'volumeId': ?volumeId,
    'volumeSize': ?volumeSize,
  };
}