AwsElasticsearchDomainDetails.fromJson constructor
AwsElasticsearchDomainDetails.fromJson(
- Map<String, dynamic> json
)
Implementation
factory AwsElasticsearchDomainDetails.fromJson(Map<String, dynamic> json) {
return AwsElasticsearchDomainDetails(
accessPolicies: json['AccessPolicies'] as String?,
domainEndpointOptions: json['DomainEndpointOptions'] != null
? AwsElasticsearchDomainDomainEndpointOptions.fromJson(
json['DomainEndpointOptions'] as Map<String, dynamic>)
: null,
domainId: json['DomainId'] as String?,
domainName: json['DomainName'] as String?,
elasticsearchVersion: json['ElasticsearchVersion'] as String?,
encryptionAtRestOptions: json['EncryptionAtRestOptions'] != null
? AwsElasticsearchDomainEncryptionAtRestOptions.fromJson(
json['EncryptionAtRestOptions'] as Map<String, dynamic>)
: null,
endpoint: json['Endpoint'] as String?,
endpoints: (json['Endpoints'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
nodeToNodeEncryptionOptions: json['NodeToNodeEncryptionOptions'] != null
? AwsElasticsearchDomainNodeToNodeEncryptionOptions.fromJson(
json['NodeToNodeEncryptionOptions'] as Map<String, dynamic>)
: null,
vPCOptions: json['VPCOptions'] != null
? AwsElasticsearchDomainVPCOptions.fromJson(
json['VPCOptions'] as Map<String, dynamic>)
: null,
);
}