AwsSourceDetails constructor

AwsSourceDetails({
  1. String? awsRegion,
  2. AwsSourceDetails_State? state,
  3. Status? error,
  4. Iterable<String>? inventorySecurityGroupNames,
  5. Map<String, String>? migrationResourcesUserTags,
  6. String? publicIp,
  7. Iterable<AwsSourceDetails_Tag>? inventoryTagList,
  8. AwsSourceDetails_AccessKeyCredentials? accessKeyCreds,
})

Implementation

factory AwsSourceDetails({
  $core.String? awsRegion,
  AwsSourceDetails_State? state,
  $19.Status? error,
  $core.Iterable<$core.String>? inventorySecurityGroupNames,
  $core.Map<$core.String, $core.String>? migrationResourcesUserTags,
  $core.String? publicIp,
  $core.Iterable<AwsSourceDetails_Tag>? inventoryTagList,
  AwsSourceDetails_AccessKeyCredentials? accessKeyCreds,
}) {
  final $result = create();
  if (awsRegion != null) {
    $result.awsRegion = awsRegion;
  }
  if (state != null) {
    $result.state = state;
  }
  if (error != null) {
    $result.error = error;
  }
  if (inventorySecurityGroupNames != null) {
    $result.inventorySecurityGroupNames.addAll(inventorySecurityGroupNames);
  }
  if (migrationResourcesUserTags != null) {
    $result.migrationResourcesUserTags.addAll(migrationResourcesUserTags);
  }
  if (publicIp != null) {
    $result.publicIp = publicIp;
  }
  if (inventoryTagList != null) {
    $result.inventoryTagList.addAll(inventoryTagList);
  }
  if (accessKeyCreds != null) {
    $result.accessKeyCreds = accessKeyCreds;
  }
  return $result;
}